Hacker News new | ask | show | jobs
by graemep 79 days ago
rsync can delete remote files with --delete or --delete-after

What is missing is recovering accidentally deleted or corrupted data.

1 comments

> rsync can delete remote files with --delete or --delete-after

Yes but I don't use it precisely because that lets me recover files that I have accidentally deleted. I assume it's the intended default behavior of rsync.

What if that happens after your monthly creation of a new backup.
I keep the previous backup for one month and then delete it. So eventually the file is lost yes, but this is inevitable if you assume finite amount of storage.
In that case I think its a good system. Its very similar to an incremental backup in what it achieves.