i like to backup my linux based NAS (small files like picutres) to an attached USB Disk with FAT32.
For this i like to use rsync.
I know, that this will not work correct per default. rsync will sync the files again and again.
I found this question and answers: How can I use rsync with a FAT file system?
But, even if I use the --modify-window=1
and --size-only
option, all files are processed again. The log looks like, rsync tries to set permission/ownership on fat32, which will fail.
rsync: chown "<filename>" failed: Operation not permitted (1)
Question is: is there a way to disable the "chown" command?
//Edit:
currently I use the following command: rsync -a --modify-window=1 --size-only /data/ /mnt/backup/. &
Best Answer
Just don't use the options for syncing owner/group. If you are using the
--archive
/-a
option this includes those two, so instead specify the flags individually and leave those out. Check the man page for a list of what--archive
implies.