mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 12:26:38 -05:00
Removes the detailed log from the screen.
This commit is contained in:
parent
d525b4a14a
commit
82f85ed45d
5 changed files with 72 additions and 38 deletions
29
snapraid.txt
29
snapraid.txt
|
|
@ -174,9 +174,17 @@ Note that the fix command will revert your data at the state of the
|
|||
last "sync" command executed. It works like a snapshot was taken
|
||||
in "sync".
|
||||
|
||||
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 -f, --filter option :
|
||||
To see the list of files meanwhile they are checked and fixed, you can
|
||||
used the -v, --verbose option. Like:
|
||||
|
||||
snapraid fix -v
|
||||
|
||||
4.2 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 -f, --filter option :
|
||||
|
||||
snapraid fix -f FILE
|
||||
|
||||
|
|
@ -185,15 +193,16 @@ or for a directory:
|
|||
snapraid fix -f DIR/
|
||||
|
||||
You can also use it to recover only accidentally deleted files inside
|
||||
a directory using the -m, --filter-missing option, like:
|
||||
a directory using the -m, --filter-missing option, that restores
|
||||
only missing files, leaving untouched all the others.
|
||||
|
||||
snapraid fix -m -f DIR/
|
||||
|
||||
Or to recover all the deleted files with:
|
||||
Or to recover all the deleted files in all the drives with:
|
||||
|
||||
snapraid fix -m
|
||||
|
||||
4.2 Scrubbing
|
||||
4.3 Scrubbing
|
||||
-------------
|
||||
|
||||
To periodically check the old data for errors, you can run the "scrub"
|
||||
|
|
@ -225,7 +234,7 @@ if really fixed. You can use -p 0 to scrub only blocks marked as bad.
|
|||
|
||||
snapraid -p 0 scrub
|
||||
|
||||
4.3 Pooling
|
||||
4.4 Pooling
|
||||
-----------
|
||||
|
||||
To have all the files in your array shown in the same directory tree,
|
||||
|
|
@ -540,11 +549,11 @@ SnapRAID provides the following options:
|
|||
option allows you to continue anyway.
|
||||
|
||||
-l, --log 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'll 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue