Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does rsync replicate or ignore file deletion?


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: