Results 1 to 2 of 2

Thread: tar --one-file-system

  1. #1
    Join Date
    Apr 2014

    tar --one-file-system

    If I'm backing up my system, I like to use tar with the --one-file-system option. Does this exclude home directories? I know they exclude the /proc, /sys, /mnt, /media, /run and /dev directories. If I want to include the home directory, do I have to manually exclude all the others?

  2. #2
    Join Date
    Aug 2011
    51.8° N 5.8° E
    Xubuntu 17.04 Zesty Zapus

    Re: tar --one-file-system

    If you have a separate /home partition, it should exclude the /home directory. Else it should include it.

    You can also make separate backups for /home and other things. Maybe you want more frequent backups of one than of the other.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts