I am running a Linux Mint workstation at home and I am following the backup strategy from this page: http://www.jwz.org/doc/backups.html. The destination drive is a eSata drive identical to the internal drive and my rsync command looks like this:

sudo rsync -vaxAX --delete --ignore-errors / /media/backup/

where my external eSata drive is mounted on /media/backup/. I run into a slight problem with this rsync command: rsync will not go into and recurse down the /home directory. The home/ dir is created at the destination, but it stops there. If I change my source dir from / to /home/ than everything is fine. Am I doing something wrong or is this behavior by design?

link|improve this question

75% accept rate
feedback

1 Answer

up vote 6 down vote accepted

-x tells rsync to not cross filesystem boundaries. /home is a separate filesystem on that machine.

link|improve this answer
That's a better explanation @Ignacio – pavium Jun 20 '11 at 10:28
That is correct... /home is on its own partition... obvious in hindsight... – Jonas Gorauskas Jun 20 '11 at 15:46
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.