Rua on Nostr: I'm having a mysterious problem with #linux #rsync that I wonder if someone can help ...
I'm having a mysterious problem with #linux #rsync that I wonder if someone can help me with.
I'm backing up my main filesystem onto a USB backup drive, using the command:
rsync -av --delete --delete-excluded --stats --exclude-from /home/rua/rsync-exclude /home/rua /media/rua/externalhd/
The --delete and --delete-excluded options are *supposed* to delete stuff on the backup filesystem when they are no longer present on the main filesystem. But this doesn't happen, instead they are left in place and accumulate. Which has me very puzzled and wondering what I'm doing wrong.
I'm backing up my main filesystem onto a USB backup drive, using the command:
rsync -av --delete --delete-excluded --stats --exclude-from /home/rua/rsync-exclude /home/rua /media/rua/externalhd/
The --delete and --delete-excluded options are *supposed* to delete stuff on the backup filesystem when they are no longer present on the main filesystem. But this doesn't happen, instead they are left in place and accumulate. Which has me very puzzled and wondering what I'm doing wrong.