What is Nostr?
Rua /
npub18cd…ccnf
2024-06-06 19:05:31

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.
Author Public Key
npub18cdhdmx74cf334wmv84ttd2x3ng4ycwwm8eddljl7t27hwygx69qegccnf