Hacker News new | ask | show | jobs
by alexey-salmin 940 days ago
Does rsync replicate or ignore file deletion?
1 comments

It depends on what flags you call it with - it can do either.
Surely, but in your setup?
I have it mirror deletes. I'm comfortable enough with this because my cloud storage provider has version history and deleted file restoration, plus my air-gapped month-old backup gives me some time to notice any accidental deletes.

I used to have it not mirror deletes, but then if you ever have to do a full restore it's a bit of a mess.