Makes a backup copy of the content file.

Before overwriting the existing content file, rename it
adding the .backup extension, but only if such content file
was read and validated.
This commit is contained in:
Andrea Mazzoleni 2014-06-13 18:23:24 +02:00
parent 68042d528d
commit da08ca4497
8 changed files with 49 additions and 16 deletions

View file

@ -5,6 +5,9 @@ SnapRAID HISTORY
=================
* The -N, --force-nocopy option now also works if you used previously
"sync" commands without it.
* When saving the content file keep a copy of the previos one adding
the ".backup" extension.
* Auto exclude the lock file.
6.2 2014/5
==========