I'm backing up directories on a Fedora machine onto an NTFS drive (fuseblk according to df -T) and it seems to go just fine with this:

ls -t | sed -e "1,"$n"d" | xargs -d '\n' rm -rf

nice rsync -azv \
--link-dest=$DestDir/current \
--delete \
--delete-excluded \
$SrcDirs $DestDir/incomplete_backup-$Date

mv $DestDir/incomplete-backup-$Data $DestDir/Backup-$Date
rm -f $DesDir/current
ln -s $DestDir/Backup-$Data $DestDir/current

This gives me nice rolling backups and I can limit how many historical versions I have with the n variable.

What I notice is that if I execute the backup twice within a few seconds, I get a very long list of modified files. Exploring further with the -i switch, I see that all the files are flagged as having permissions changes. If I specify --no-perms, this fixes the problem. Assuming it is actually a problem.

My questions are: Why are permissions not being preserved? Does this situation negate my rolling backup concept? Any other details I should be considering?


Solution 1:

No, the permission are not preserved. NTFS has no knowledge of Linux ownerships and permissions.