I have a bunch of unsecured machines roaming around in the wild (user-owned laptops). I back their work-related subdirectory up to a server using the rrsync perl script (see http://www.guyrutenberg.com/2014/01/...cess-to-rsync/).
Most big files (primary collected data) don't change once generated - some text documents do, but they are not that big, and storage is cheap. So I use the -b option, with --suffix set to "date -Iseconds" - I waste some space on multiple versions of documents being worked on, but if the user gets hit with an an encryption virus, the backups won't be overwritten.
The rrsync script has provision for editing it to block certain options (e.g. it's easy for me to specify that the user can't call the -b option), but I would like to *mandate* the -b and --suffix options, and I'm not sure how to do that. Any ideas?
Bookmarks