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.
Published at
2024-06-06 19:05:31Event JSON
{
"id": "508c5db5be94726ca720ef62b53900ee783cd877e62f2f76becd8c94cb030bb9",
"pubkey": "3e1b76ecdeae1318d5db61eab5b5468cd15261ced9f2d6fe5ff2d5ebb888368a",
"created_at": 1717700731,
"kind": 1,
"tags": [
[
"t",
"rsync"
],
[
"t",
"linux"
],
[
"proxy",
"https://chitter.xyz/@ruawhitepaw/112571235127431093",
"web"
],
[
"proxy",
"https://chitter.xyz/users/ruawhitepaw/statuses/112571235127431093",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://chitter.xyz/users/ruawhitepaw/statuses/112571235127431093",
"pink.momostr"
]
],
"content": "I'm having a mysterious problem with #linux #rsync that I wonder if someone can help me with.\n\nI'm backing up my main filesystem onto a USB backup drive, using the command:\n\nrsync -av --delete --delete-excluded --stats --exclude-from /home/rua/rsync-exclude /home/rua /media/rua/externalhd/\n\nThe --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.",
"sig": "41abea43fc487f8345226bb50c3241b649e806971a5537bd97234ac6e413c8607ae140b97193d13ff753cc5416b7cdbfaebb040ea460a97f24c6bbe4276b0b6d"
}