I have set up a backup of some working folders of a server (running with Centos 7) to a remote disk using lsyncd.
It's great, however I'm quite undecided about what to do about file deletion:
If I disable file deletion (files deleted on the source will remain on destination, with the "delete = false" option) I am sure that I will loose nothing but my working directories are quickly becoming very messy to say the least.
If I enable file deletion (default value of lsyncd, or "delete = true") my destination folder will be in sync with my source but I am afraid that me or rather some other users of the server will delete some of their files by mistake for some reason, have these deletions synchronized to destination and loose important stuff.
Right now I have chosen the first (delete = false) option because I'm afraid of people deleting stuff by mistake (some working directories are shared which increases this risk). But is this really something that happens in real life (I have read stories but it seems fairly anecdotal) in your experience ?
Is there a way to mitigate the risk of misdeletion ? Intermediate options of lsyncd (delete = running or delete = startup) don't seem particularly helpful in my case but I may be wrong.