Removes the detailed log from the screen.

This commit is contained in:
Andrea Mazzoleni 2013-09-28 12:39:55 +02:00
parent d525b4a14a
commit 82f85ed45d
5 changed files with 72 additions and 38 deletions

View file

@ -282,9 +282,19 @@ Note that the fix command will revert your data at the state of the
last \(a"sync\(a" command executed. It works like a snapshot was taken
in \(a"sync\(a".
.PP
In this regard SnapRAID is more like a backup program than a RAID
system. For example, you can use it to restore a file or directory to
its previous state using the \(hyf, \(hy\(hyfilter option :
To see the list of files meanwhile they are checked and fixed, you can
used the \(hyv, \(hy\(hyverbose option. Like:
.PP
.RS 4
snapraid fix \(hyv
.PD 0
.PP
.PD
.RE
.SS Recovering and Undeleting
In recovering SnapRAID is more like a backup program than a RAID system,
and it can be used to restore or undelete only a single file or directory
to its previous state using the \(hyf, \(hy\(hyfilter option :
.PP
.RS 4
snapraid fix \(hyf FILE
@ -303,7 +313,8 @@ snapraid fix \(hyf DIR/
.RE
.PP
You can also use it to recover only accidentally deleted files inside
a directory using the \(hym, \(hy\(hyfilter\(hymissing option, like:
a directory using the \(hym, \(hy\(hyfilter\(hymissing option, that restores
only missing files, leaving untouched all the others.
.PP
.RS 4
snapraid fix \(hym \(hyf DIR/
@ -312,7 +323,7 @@ snapraid fix \(hym \(hyf DIR/
.PD
.RE
.PP
Or to recover all the deleted files with:
Or to recover all the deleted files in all the drives with:
.PP
.RS 4
snapraid fix \(hym
@ -673,11 +684,11 @@ disk in the free space left in an already used disk. and this
option allows you to continue anyway.
.TP
.B \(hyl, \(hy\(hylog FILE
Redirect the detailed log of errors to the specified file.
Write a detailed log of errors found in check and fix.
This log contains the exact specification of which block of
any file is not recoverable and why.
If this option is not specified, the log is printed in
the console using the standard error stream.
If this option is not specified, no detailed log is printed,
and you\(cqll get only a summary at the end of the operations.
When checking and fixing this allows to keep separated
the possible huge list of errors from the human readable
output.