Rsync DOESN'T Preserve File Owner & Permission - Using Automounted NTFS backup drive
Hi, this is my machine:
1x 80gb - /boot, /swap, /(root) - sda
1x 80gb - /home - sdb
1x 250gb - /backups - sdc
1. First of all, I automount sdc /backups via /etc/fstab like this:
2. Second I use a rsync to backup my /boot/ /(root) and /home
/dev/disk/by-label/backups /media/backups ntfs defaults,uid=1000 0 2
When I check sdc (my ntfs backup drive), all files in there are 777, whereas it should be 755, and sometimes the owner is me, whereas it should be ROOT.
rsync --delete -avz /boot /media/backups/boot/
As an experiment, I backed up my files NOT in sdc (my ntfs backup drive), but in my /home folder instead, RESULT: every thing is OK, and it preserved file owner & permission!
Is there something I'm missing here? Is there something I don't understand?
Please help because I'm learning to BACKUP my system. Thanks for reading.
Last edited by AlexanderDGreat; September 5th, 2010 at 12:13 PM.
It's OK, everything we know will become obsolete at some time.