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

@ -1007,10 +1007,11 @@ Content
It's a binary file, listing all the files present in your disk array,
with all the checksums to verify their integrity.
You do not need to understand its format to use SnapRAID.
This file is read and written by the "sync" and "scrub" commands, and
only read by "fix", "check" and "status".
read by "fix", "check" and "status".
When saving a new copy, the previous one is renamed adding the ".backup"
extension.
Parity
SnapRAID stores the parity information of your array in the parity