snapraid/snapraid.1

1206 lines
33 KiB
Groff
Raw Normal View History

2011-03-22 23:22:18 +01:00
.TH "SnapRAID Backup For Disk Arrays" 1
.SH NAME
snapraid \(hy SnapRAID Backup For Disk Arrays
.SH SYNOPSIS
snapraid [\(hyc, \(hy\(hyconf CONFIG]
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
2013-08-18 19:35:40 +02:00
[\(hyf, \(hy\(hyfilter PATTERN] [\(hyd, \(hy\(hyfilter\(hydisk NAME]
.PD 0
.PP
.PD
[\(hym, \(hy\(hyfilter\(hymissing] [\(hye, \(hy\(hyfilter\(hyerror]
.PD 0
.PP
.PD
[\(hya, \(hy\(hyaudit\(hyonly] [\(hyi, \(hy\(hyimport DIR]
.PD 0
.PP
2013-08-22 23:03:13 +02:00
.PD
[\(hyp, \(hy\(hypercentage PERC] [\(hyo, \(hy\(hyolder\(hythan DAYS]
.PD 0
.PP
.PD
[\(hyN, \(hy\(hyfind\(hyby\(hyname]
.PD 0
.PP
2011-03-22 23:22:18 +01:00
.PD
2013-08-18 19:35:40 +02:00
[\(hyZ, \(hy\(hyforce\(hyzero] [\(hyE, \(hy\(hyforce\(hyempty]
.PD 0
.PP
.PD
[\(hyU, \(hy\(hyforce\(hyuuid] [\(hyD, \(hy\(hyforce\(hydevice]
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
[\(hys, \(hy\(hystart BLKSTART] [\(hyt, \(hy\(hycount BLKCOUNT]
.PD 0
.PP
2011-03-22 23:22:18 +01:00
.PD
2013-03-01 20:13:56 +01:00
[\(hyv, \(hy\(hyverbose] [\(hyl, \(hy\(hylog FILE]
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
2013-07-01 23:08:25 +02:00
sync|status|scrub|diff|dup|pool|check|fix|rehash
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
.PP
snapraid [\(hyV, \(hy\(hyversion] [\(hyh, \(hy\(hyhelp]
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
.SH DESCRIPTION
2013-08-20 12:23:46 +02:00
SnapRAID is a backup program for disk arrays.
2011-03-22 23:22:18 +01:00
.PP
2011-05-04 19:51:30 +02:00
SnapRAID stores redundancy information in the disk array,
and it allows recovering from up to two disk failures.
2011-03-22 23:22:18 +01:00
.PP
SnapRAID is mainly targeted for a home media center, where you have
a lot of big files that rarely change.
.PP
2011-04-26 23:41:15 +02:00
Beside the ability to recover from disk failures, the other
2011-03-28 20:50:30 +02:00
features of SnapRAID are:
2011-03-22 23:22:18 +01:00
.PD 0
.IP \(bu
You can start using SnapRAID with already filled disks.
.IP \(bu
2011-04-26 23:41:15 +02:00
The disks can have different sizes.
2011-03-22 23:22:18 +01:00
.IP \(bu
2011-12-28 10:42:46 +01:00
You can add disks at any time.
2011-03-22 23:22:18 +01:00
.IP \(bu
If you accidentally delete some files in a disk, you can
recover them.
.IP \(bu
2011-05-04 19:51:30 +02:00
If more than two disks fail, you lose the data only on the
2011-03-22 23:22:18 +01:00
failed disks. All the data in the other disks is safe.
.IP \(bu
It doesn\(cqt lock\(hyin your data. You can stop using SnapRAID at any
time without the need to reformat or move data.
.IP \(bu
2011-12-28 10:42:46 +01:00
All your data is hashed to ensure data integrity and to avoid
2011-05-04 19:51:30 +02:00
silent corruption.
2011-03-22 23:22:18 +01:00
.PD
.PP
The official site of SnapRAID is:
.PP
.RS 4
http://snapraid.sourceforge.net
.PD 0
.PP
.PD
.RE
.SH LIMITATIONS
2011-04-26 23:41:15 +02:00
SnapRAID is in between a RAID and a Backup program trying to get the best
2011-03-22 23:22:18 +01:00
benefits of them. Although it also has some limitations that you should
consider before using it.
.PP
2011-05-04 19:51:30 +02:00
The main one is that if a disk fails, and you haven\(cqt recently synced,
2011-03-22 23:22:18 +01:00
you may not able to do a complete recover.
More specifically, you may be unable to recover up to the size of the
2011-09-03 11:17:25 +02:00
amount of the changed or deleted files from the last sync operation.
2011-03-22 23:22:18 +01:00
This happens even if the files changed or deleted are not in the
failed disk.
New added files don\(cqt prevent the recovering of the already existing
2011-04-29 23:21:27 +02:00
files. You may only lose the just added files, if they are on the failed
2011-03-22 23:22:18 +01:00
disk.
.PP
This is the reason because SnapRAID is better suited for data that
rarely change.
.PP
Other limitations are:
.PD 0
.IP \(bu
2011-04-23 08:58:00 +02:00
You have different file\(hysystems for each disk.
Using a RAID you have only a big file\(hysystem.
.IP \(bu
2011-03-22 23:22:18 +01:00
It doesn\(cqt stripe data.
With RAID you get a speed boost with striping.
.IP \(bu
It doesn\(cqt support real\(hytime recovery.
With RAID you do not have to stop working when a disk fails.
.IP \(bu
It\(cqs able to recover damages only from up to two disks.
2011-03-22 23:22:18 +01:00
With a Backup you are able to recover from a complete
failure of the whole disk array.
.IP \(bu
Only file, timestamps, symlinks and hardlinks are saved.
Permissions, ownership and extended attributes are not saved.
2011-03-22 23:22:18 +01:00
.PD
.SH GETTING STARTED
2011-10-31 15:49:42 +01:00
To use SnapRAID you need to first select one disk of your disk array
to dedicate at the \(a"parity\(a" information. With one disk for parity you
will be able to recover from a single disk failure, like RAID5.
2011-03-22 23:22:18 +01:00
.PP
2013-08-20 12:23:46 +02:00
If you want to be able to recover from two disk failures, like RAID6,
you must reserve another disk for the \(a"q\(hyparity\(a" information.
2011-03-22 23:22:18 +01:00
.PP
2011-09-03 11:17:25 +02:00
As parity disks, you have to pick the biggest disks in the array,
as the redundancy information may grow in size as the biggest data
disk in the array.
2011-03-22 23:22:18 +01:00
.PP
2011-04-26 23:41:15 +02:00
These disks will be dedicated to store the \(a"parity\(a" and \(a"q\(hyparity\(a"
files. You should not store your data in them.
.PP
The list of files is saved in the \(a"content\(a" files, usually
2011-09-19 20:45:35 +02:00
stored in the data, parity or boot disks.
These files contain the details of your backup, with all the
checksums to verify its integrity.
The \(a"content\(a" file is stored in multiple copies, and each one must
be in a different disk, to ensure that in even in case of multiple
disk failures at least one copy is available.
.PP
For example, suppose that you are interested only at one parity level
2011-04-26 23:41:15 +02:00
of protection, and that your disks are present in:
2011-03-22 23:22:18 +01:00
.PP
.RS 4
/mnt/diskpar <\(hy selected disk for parity
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
2011-04-23 08:58:00 +02:00
/mnt/disk1 <\(hy first disk to backup
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
2011-04-23 08:58:00 +02:00
/mnt/disk2 <\(hy second disk to backup
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
2011-04-23 08:58:00 +02:00
/mnt/disk3 <\(hy third disk to backup
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
.RE
.PP
you have to create the configuration file /etc/snapraid.conf with
2011-04-23 08:58:00 +02:00
the following options:
2011-03-22 23:22:18 +01:00
.PP
.RS 4
parity /mnt/diskpar/parity
.PD 0
.PP
.PD
content /var/snapraid/content
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
content /mnt/disk1/content
.PD 0
.PP
.PD
content /mnt/disk2/content
2011-09-19 20:45:35 +02:00
.PD 0
.PP
.PD
2011-03-22 23:22:18 +01:00
disk d1 /mnt/disk1/
.PD 0
.PP
.PD
disk d2 /mnt/disk2/
.PD 0
.PP
.PD
disk d3 /mnt/disk3/
.PD 0
.PP
.PD
.RE
.PP
2011-09-03 11:17:25 +02:00
If you are in Windows, you should use drive letters and backslashes
2011-12-31 12:09:05 +01:00
instead of slashes, and if you like, also file extensions.
2011-04-23 08:58:00 +02:00
.PP
.RS 4
2011-12-31 12:09:05 +01:00
parity E:\(rspar\(rsparity.par
2011-04-23 08:58:00 +02:00
.PD 0
.PP
.PD
2011-12-31 12:09:05 +01:00
content C:\(rssnapraid\(rscontent.lst
2011-04-23 08:58:00 +02:00
.PD 0
.PP
.PD
2011-12-31 12:09:05 +01:00
content F:\(rsarray\(rscontent.lst
.PD 0
.PP
.PD
2011-12-31 12:09:05 +01:00
content G:\(rsarray\(rscontent.lst
2011-09-19 20:45:35 +02:00
.PD 0
.PP
.PD
2011-04-23 08:58:00 +02:00
disk d1 F:\(rsarray\(rs
.PD 0
.PP
.PD
disk d2 G:\(rsarray\(rs
.PD 0
.PP
.PD
disk d3 H:\(rsarray\(rs
.PD 0
.PP
.PD
.RE
.PP
2011-03-22 23:22:18 +01:00
At this point you are ready to start the \(a"sync\(a" command to build the
redundancy information.
.PP
.RS 4
snapraid sync
.PD 0
.PP
.PD
.RE
.PP
This process may take some hours the first time, depending on the size
of the data already present in the disks. If the disks are empty
the process is immediate.
.PP
You can stop it at any time pressing Ctrl+C, and at the next run it
will start where interrupted.
.PP
When this command completes, your data is SAFE.
.PP
At this point you can start using your array as you like, and periodically
2011-03-22 23:22:18 +01:00
update the redundancy information running the \(a"sync\(a" command.
2013-08-20 12:23:46 +02:00
.SS Checking & Fixing
To check the integrity of your data you can use the \(a"check\(a" command:
2011-03-22 23:22:18 +01:00
.PP
.RS 4
2013-08-20 12:23:46 +02:00
snapraid check
.PD 0
.PP
.PD
.RE
.PP
2013-08-20 12:23:46 +02:00
If will read all your data, to check if it\(cqs correct.
.PP
If an error is found, you can use the \(a"fix\(a" command to fix it.
.PP
.RS 4
2013-08-20 12:23:46 +02:00
snapraid fix
.PD 0
.PP
.PD
.RE
.PP
2013-08-20 12:23:46 +02:00
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 :
.PP
.RS 4
2013-08-20 12:23:46 +02:00
snapraid fix \(hyf FILE
.PD 0
.PP
.PD
.RE
2013-08-20 12:23:46 +02:00
.PP
or for a directory:
2011-03-22 23:22:18 +01:00
.PP
.RS 4
2013-08-20 12:23:46 +02:00
snapraid fix \(hyf DIR/
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
.RE
.PP
2013-08-20 12:23:46 +02:00
You can also use it to recover only accidentally deleted files inside
a directory using the \(hym, \(hy\(hyfilter\(hymissing option, like:
2011-03-22 23:22:18 +01:00
.PP
.RS 4
2013-08-20 12:23:46 +02:00
snapraid fix \(hym \(hyf DIR/
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
.RE
.PP
2013-08-20 12:23:46 +02:00
Or to recover all the deleted files with:
2011-03-22 23:22:18 +01:00
.PP
2013-08-20 12:23:46 +02:00
.RS 4
snapraid fix \(hym
.PD 0
.PP
.PD
.RE
.SS Scrubbing
To periodically check the old data for errors, you can run the \(a"scrub\(a"
command.
.PP
.RS 4
2013-08-20 12:23:46 +02:00
snapraid scrub
2012-03-31 09:49:52 +02:00
.PD 0
.PP
.PD
.RE
.PP
2013-08-20 12:23:46 +02:00
As difference than \(a"check\(a" this command verifies only the oldest data
in your array. Every run of the command checks about 12% of the data,
but nothing newer than 10 days.
2013-08-22 23:03:13 +02:00
You can use the \(hyp, \(hy\(hypercentage option to specify a different amount,
and the \(hyo, \(hy\(hyolder\(hythan option to specify a different age in days:
2013-08-20 12:23:46 +02:00
.PP
2013-08-22 23:03:13 +02:00
.RS 4
snapraid \(hyp 5 \(hyo 20 scrub
.PD 0
.PP
.PD
.RE
.PP
If silent errors are found, the corresponding blocks are marked as bad
2013-08-20 12:23:46 +02:00
in the \(a"concent\(a" file, and listed in the \(a"status\(a" command.
2012-03-31 09:49:52 +02:00
.PP
.RS 4
2013-08-20 12:23:46 +02:00
snapraid status
.PD 0
.PP
.PD
.RE
.PP
2013-08-20 12:23:46 +02:00
To fix them, you can use the \(a"fix\(a" command filtering for files
containing bad blocks:
.PP
.RS 4
2013-08-20 12:23:46 +02:00
snapraid \(hye fix
.PD 0
.PP
.PD
.RE
2013-08-20 12:23:46 +02:00
.PP
and at the next \(a"scrub\(a" the errors will disappear from the \(a"status\(a"
2013-08-22 23:03:13 +02:00
report. You can use \(hyp 0 to scrub only them.
.PP
.RS 4
snapraid \(hyp 0 scrub
.PD 0
.PP
.PD
.RE
2013-08-20 12:23:46 +02:00
.SS Pooling
To have all the files in your array shown in the same directory tree,
you can enable \(a"pooling\(a", that consists in creating a virtual view of all
the files in your array using symbolic links.
You can configure the \(a"pooling\(a" directory in the configuration file with:
2013-08-18 19:35:40 +02:00
.PP
.RS 4
2013-08-20 12:23:46 +02:00
pool /pool
2013-08-18 19:35:40 +02:00
.PD 0
.PP
.PD
.RE
.PP
2013-08-20 12:23:46 +02:00
or, if you are in Windows, with:
2013-08-18 19:35:40 +02:00
.PP
.RS 4
2013-08-20 12:23:46 +02:00
pool C:\(rspool
2013-08-18 19:35:40 +02:00
.PD 0
.PP
.PD
.RE
.PP
2013-08-20 12:23:46 +02:00
and then run the \(a"pool\(a" command.
2013-08-18 19:35:40 +02:00
.PP
.RS 4
2013-08-20 12:23:46 +02:00
snapraid pool
2013-08-18 19:35:40 +02:00
.PD 0
.PP
.PD
.RE
2011-03-22 23:22:18 +01:00
.SH COMMANDS
2013-08-20 12:23:46 +02:00
SnapRAID provides some simple commands that allow to:
2011-03-22 23:22:18 +01:00
.PD 0
.IP \(bu
Make a backup/snapshot \(hy> \(a"sync\(a"
.IP \(bu
2013-08-18 17:21:39 +02:00
Periodically checks old data \(hy> \(a"scrub\(a"
.IP \(bu
2013-08-20 12:23:46 +02:00
Prints a report of the status of the array \(hy> \(a"status\(a"
.IP \(bu
2013-08-18 17:21:39 +02:00
Check for integrity the full array \(hy> \(a"check\(a"
2011-03-22 23:22:18 +01:00
.IP \(bu
Restore the last backup/snapshot \(hy> \(a"fix\(a".
.PD
2011-06-20 20:35:04 +02:00
.PP
2011-10-31 15:49:42 +01:00
Take care that the commands have to be written in lower case.
2011-09-03 11:17:25 +02:00
.SS sync
2011-03-22 23:22:18 +01:00
Updates the redundancy information. All the modified files
in the disk array are read, and the redundancy data is
2011-03-29 18:57:13 +02:00
recomputed.
2011-09-03 11:17:25 +02:00
.PP
2011-03-29 18:57:13 +02:00
Files are identified by inode and checked by time and size,
meaning that you can move them on the disk without triggering
any redundancy recomputation.
2011-09-03 11:17:25 +02:00
.PP
2011-03-22 23:22:18 +01:00
You can stop this process at any time pressing Ctrl+C,
without losing the work already done.
2011-09-03 11:17:25 +02:00
.PP
The \(a"content\(a", \(a"parity\(a" and \(a"q\(hyparity\(a" files are modified if necessary.
2011-03-29 18:57:13 +02:00
The files in the array are NOT modified.
2013-08-20 12:23:46 +02:00
.SS check
Checks all the files and the redundancy data.
All the files are hashed and compared with the snapshot saved
in the previous \(a"sync\(a" command.
.PP
2013-08-20 12:23:46 +02:00
If an error if found, a recovery attempt is simulated to check
if the error is a recoverable one or not.
.PP
If you use the \(hya, \(hy\(hyaudit\(hyonly option, only the file
data is checked, and the redundandy data is ignored.
.PP
Files are identified by path, and checked by content.
.PP
Nothing is modified.
2013-08-20 12:23:46 +02:00
.SS fix
Checks and fix all the files. It\(cqs like \(a"check\(a" but it also fixes
errors reverting the state of the disk array to the previous \(a"sync\(a"
command.
.PP
After a successful \(a"fix\(a", you should also run a \(a"sync\(a" command to
update the new state of the files.
.PP
All the files that cannot be fixed are renamed adding
the \(a".unrecoverable\(a" extension.
.PP
The \(a"content\(a" file is NOT modified.
The \(a"parity\(a" and \(a"q\(hyparity\(a" files are modified if necessary.
The files in the array are modified if necessary.
.SS scrub
Scrubs the array, checking for silent errors.
.PP
2013-08-20 12:23:46 +02:00
For each command invocation, the 12% of the array is checked, but
nothing that it\(cqs more recent than 10 days.
2013-08-18 17:21:39 +02:00
This means that scrubbing once a week, every bit of data is checked
at least one time every two months.
.PP
2013-08-22 23:03:13 +02:00
You can use the \(hyp, \(hy\(hypercentage option to specify a different amount,
and the \(hyo, \(hy\(hyolder\(hythan option to specify a different age.
Note that if only one of \(hyp and \(hyo is specified the default value of
the other option is not used.
2013-08-18 17:21:39 +02:00
.PP
Any silent error identified is recorded in the content file,
2013-08-18 17:21:39 +02:00
and it\(cqs listed in the \(a"status\(a" command until it\(cqs fixed calling
2013-08-18 19:35:40 +02:00
\(a"fix\(a" and then \(a"scrub\(a".
.PP
2013-08-22 23:03:13 +02:00
The oldest blocks are scrubbed first ensuring an optimal check.
Blocks already marked as bad are always checked, and if found
correct, they are automatically unmarked.
.PP
It\(cqs recommended to run \(a"scrub\(a" on a synched array, to avoid to have
reported error caused by unsynched data. These errors are recognized
as not being silent errors, and the blocks are not marked as bad,
but such errros are reported in the output of the command.
.PP
The \(a"content\(a" file is modified to update the time of the last check
of each block.
2013-08-20 12:23:46 +02:00
.SS status
Prints a summary of the state of the disk array.
.PP
It includes information about the parity fragmentation, how old
are the blocks without checking, and all the recorded silent
errors encoutered while scrubbing.
.PP
Nothing is modified.
2011-09-03 11:17:25 +02:00
.SS diff
2011-06-26 20:40:35 +02:00
Lists all the files modified from the last \(a"sync\(a" command that
2011-09-03 11:17:25 +02:00
have to recompute their redundancy data.
.PP
2013-07-24 21:57:21 +02:00
This command doesn\(cqt check the file data, but only the file timestamp
size and inode.
.PP
2011-06-26 20:40:35 +02:00
Nothing is modified.
.SS dup
Lists all the duplicate files. Two files are assumed equal if their
2013-07-24 21:57:21 +02:00
hashes are matching. The file data is not read, but only the
precomputed hashes are used.
.PP
Nothing is modified.
2013-08-20 12:23:46 +02:00
.SS pool
Creates or updates in the \(a"pooling\(a" directory a virtual view of all
the files of your disk array.
2011-09-03 11:17:25 +02:00
.PP
2013-08-20 12:23:46 +02:00
The files are not really copied here, but just linked using
symbolic links.
2011-09-03 11:17:25 +02:00
.PP
2013-08-20 12:23:46 +02:00
When updating, all the present symbolic links and empty
subdirectories are deleted and replaced with the new
view of the array. Any othe regular file is left in place.
.PP
2013-08-20 12:23:46 +02:00
Nothing is modified outside the pool directory.
2013-07-01 23:08:25 +02:00
.SS rehash
Schedules a rehash of the whole array.
.PP
This option can be used to change the hash kind used,
typically when upgrading from a 32 bits system to a 64
2013-08-18 17:21:39 +02:00
bits one to switch from murmur3 to the faster spooky2.
2013-07-01 23:08:25 +02:00
.PP
2013-08-18 17:21:39 +02:00
The rehash isn\(cqt done immediately, but it takes place
progressively during the \(a"sync\(a" and \(a"scrub\(a" commands.
2013-07-01 23:08:25 +02:00
.PP
2013-08-18 17:21:39 +02:00
You can get the rehash state using the \(a"status\(a" command.
2013-07-01 23:08:25 +02:00
.PP
During the rehash, SnapRAID maintains full functionality,
2013-08-18 17:21:39 +02:00
with the only expection of the \(a"dup\(a" command not able to detect
2013-07-01 23:08:25 +02:00
duplicated files using a different hash.
2011-03-22 23:22:18 +01:00
.SH OPTIONS
2011-06-26 20:40:35 +02:00
SnapRAID provides the following options:
2011-03-22 23:22:18 +01:00
.TP
.B \(hyc, \(hy\(hyconf CONFIG
2011-09-03 11:17:25 +02:00
Selects the configuration file. If not specified it\(cqs assumed
2011-11-16 20:42:27 +01:00
the file \(a"/etc/snapraid.conf\(a" in Unix, and \(a"snapraid.conf\(a" in
2011-09-03 11:17:25 +02:00
the current directory in Windows.
2011-03-22 23:22:18 +01:00
.TP
.B \(hyf, \(hy\(hyfilter PATTERN
Filters the files to process in the \(a"check\(a" and \(a"fix\(a"
commands.
Only the files matching the entered pattern are processed.
This option can be used many times.
See the PATTERN section for more details in the
pattern specifications.
In Unix, ensure to quote globbing chars if used.
This option can be used only with the \(a"check\(a" and \(a"fix\(a" commands.
Note that it cannot be used with \(a"sync\(a", because \(a"sync\(a" always
process the whole array.
.TP
.B \(hyd, \(hy\(hyfilter\(hydisk NAME
Filters the files to process in the \(a"check\(a" and \(a"fix\(a"
commands.
Only the files present in the specified disk are processed.
You must specify a disk name as named in the configuration
file.
In \(a"check\(a", you can make it faster, specifing also \(hya, \(hy\(hyaudit\(hyonly
option, to avoid to access other disks to check parity data.
If you combine more \(hy\(hyfilter, \(hy\(hyfilter\(hydisk and \(hy\(hyfilter\(hymissing options,
only files matching all the set of filters are selected.
This option can be used many times.
This option can be used only with the \(a"check\(a" and \(a"fix\(a" commands.
Note that it cannot be used with \(a"sync\(a", because \(a"sync\(a" always
process the whole array.
.TP
2013-06-15 16:22:47 +02:00
.B \(hym, \(hy\(hyfilter\(hymissing
Filters the files to process in the \(a"check\(a" and \(a"fix\(a"
commands.
Only the files missing/deleted from the array are processed.
When used with \(a"fix\(a", this is a kind of \(a"undelete\(a" command.
If you combine more \(hy\(hyfilter, \(hy\(hyfilter\(hydisk and \(hy\(hyfilter\(hymissing options,
only files matching all the set of filters are selected.
This option can be used only with the \(a"check\(a" and \(a"fix\(a" commands.
Note that it cannot be used with \(a"sync\(a", because \(a"sync\(a" always
process the whole array.
.TP
2013-08-18 19:35:40 +02:00
.B \(hye, \(hy\(hyfilter\(hyerror
Filters the files to process in the \(a"check\(a" and \(a"fix\(a"
commands.
It process only the files containing blocks marked with silent
errors during the \(a"scrub\(a" command, and listed in the \(a"status\(a" command.
This option can be used only with the \(a"check\(a" and \(a"fix\(a" commands.
.TP
2013-08-22 23:03:13 +02:00
.B \(hyp, \(hy\(hypercentage PERC
Selects the part of the array to process in the \(a"scrub\(a" command.
PERC is a numeric value from 0 to 100, default is 12.
When specifing 0, only the blocks marked as bad are scrubbed.
This option can be used only with the \(a"scrub\(a" command.
.TP
.B \(hyo, \(hy\(hyolder\(hythan DAYS
Selects the older the part of the array to process in the
\(a"scrub\(a" command.
DAYS is the minimum age in days for a block to be scrubbed,
default is 10.
Blocks marked as bad are always scrubbed despite this option.
This option can be used only with the \(a"scrub\(a" command.
.TP
.B \(hya, \(hy\(hyaudit\(hyonly
When checking, only verify the hash of the files, without
doing any kind of check on the redundancy data.
If you are interested in checking only the file data this
option can speedup a lot the checking process.
This option can be used only with the \(a"check\(a" command.
.TP
.B \(hyi, \(hy\(hyimport DIR
When fixing imports from the specified directory any file
that you deleted from the array after the last \(a"sync\(a"
commmand.
If you still have such files, they could be used by the \(a"fix\(a"
command to improve the recover process.
The files are read also in subdirectories and they are
identified regardless of their name.
This option can be used only with the \(a"check\(a" and \(a"fix\(a" command.
.TP
.B \(hyN, \(hy\(hyfind\(hyby\(hyname
2012-11-12 23:01:07 +01:00
When syncing finds the files by path instead than by inode,
and ignores the nanosecond part of timestamp.
This option allows a fast sync command after having replaced
2011-11-16 20:42:27 +01:00
one physical disk with another, copying manually the files.
Without this option the \(a"sync\(a" command recognizes that
2011-10-31 15:49:42 +01:00
the files were copied to a different disk, and it will resync
them all. With this option, a file with the correct path,
size and time with second precision is assumed identical at
the previous one, and not resynched.
2012-11-12 23:01:07 +01:00
The nanosecond part of timestamps is ignored because most of
copy programs are not able to correctly restore it.
This option can be used only with the \(a"sync\(a" and \(a"diff\(a" commands.
.TP
2011-03-22 23:22:18 +01:00
.B \(hyZ, \(hy\(hyforce\(hyzero
Forces the insecure operation of syncing a file with zero
2011-09-03 11:17:25 +02:00
size that before was not.
2011-10-31 15:49:42 +01:00
If SnapRAID detects a such condition, it stops proceeding
2011-03-22 23:22:18 +01:00
unless you specify this option.
This allows to easily detect when after a system crash,
some accessed files were zeroed.
2011-09-03 11:17:25 +02:00
This is a possible condition in Linux with the ext3/ext4
filesystems.
This option can be used only with the \(a"sync\(a" command.
2011-03-22 23:22:18 +01:00
.TP
.B \(hyE, \(hy\(hyforce\(hyempty
2011-07-05 21:45:24 +02:00
Forces the insecure operation of syncing a disk with all
the original files missing.
If SnapRAID detects that all the files originally present
2011-09-03 11:17:25 +02:00
in the disk are missing or rewritten, it stops proceeding
2011-03-22 23:22:18 +01:00
unless you specify this option.
This allows to easily detect when a data file\(hysystem is not
mounted.
This option can be used only with the \(a"sync\(a" command.
2011-03-22 23:22:18 +01:00
.TP
.B \(hyU, \(hy\(hyforce\(hyuuid
Forces the insecure operation of syncing, checking and fixing
with disks that have changed the UUID.
If SnapRAID detects that some disks have changed UUID,
it stops proceeding unless you specify this option.
This allows to detect when your disks are mounted in the
wrong mount points.
It\(cqs anyway allowed to have a single UUID change with
single parity, and two with double parity, because it\(cqs
the normal case of replacing disks.
This option can be used only with the \(a"sync\(a", \(a"check\(a" or
\(a"fix\(a" command.
.TP
.B \(hyD, \(hy\(hyforce\(hydevice
Forces the insecure operation of fixing with disks on the same
physical device.
If SnapRAID detects that two disks have the same device ID,
it stops proceeding, because it\(cqs not a supported configuration.
But it could happen what you want to temporarely restore a lost
disk in the free space left in an already used disk. and this
option will allow you to continue anyway.
.TP
.B \(hys, \(hy\(hystart BLKSTART
Starts the processing from the specified
2013-08-20 12:23:46 +02:00
block number. It could be useful to retry to check
or fix some specific block, in case of a damaged disk.
.TP
.B \(hyt, \(hy\(hycount BLKCOUNT
Process only the specified number of blocks.
It\(cqs present mainly for advanced manual recovering.
.TP
2013-03-01 20:13:56 +01:00
.B \(hyl, \(hy\(hylog FILE
Outputs a detailed log to the specified file.
It 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.
2013-03-01 20:13:56 +01:00
.TP
2011-03-22 23:22:18 +01:00
.B \(hyv, \(hy\(hyverbose
Prints more information in the processing.
.TP
.B \(hyh, \(hy\(hyhelp
Prints a short help screen.
.TP
.B \(hyV, \(hy\(hyversion
Prints the program version.
.SH CONFIGURATION
SnapRAID requires a configuration file to know where your disk array
is located, and where storing the redundancy information.
.PP
2011-04-26 23:41:15 +02:00
This configuration file is located in /etc/snapraid.conf in Unix or
in the execution directory in Windows.
.PP
2011-06-20 20:35:04 +02:00
It should contain the following options (case sensitive):
2011-09-03 11:17:25 +02:00
.SS parity FILE
Defines the file to use to store the parity information.
The parity enables the protection from a single disk
failure, like RAID5.
2011-09-03 11:17:25 +02:00
.PP
2011-03-22 23:22:18 +01:00
It must be placed in a disk dedicated for this purpose with
as much free space as the biggest disk in the array.
2011-04-26 23:41:15 +02:00
Leaving the parity disk reserved for only this file ensures that
2011-03-22 23:22:18 +01:00
it doesn\(cqt get fragmented, improving the performance.
2011-09-03 11:17:25 +02:00
.PP
This option is mandatory and it can be used only one time.
2011-09-03 11:17:25 +02:00
.SS q\(hyparity FILE
Defines the file to use to store the q\(hyparity information.
If present, the q\(hyparity enables the protection from two disk
failures, like RAID6.
2011-09-03 11:17:25 +02:00
.PP
It must be placed in a disk dedicated for this purpose with
as much free space as the biggest disk in the array.
2011-04-26 23:41:15 +02:00
Leaving the q\(hyparity disk reserved for only this file ensures that
it doesn\(cqt get fragmented, improving the performance.
2011-09-03 11:17:25 +02:00
.PP
This option is optional and it can be used only one time.
2011-09-03 11:17:25 +02:00
.SS content FILE
2011-04-29 23:21:27 +02:00
Defines the file to use to store the list and checksums of all the
files present in your disk array.
2011-09-03 11:17:25 +02:00
.PP
It can be placed in the disk used to store data, parity, or
any other disk available.
If you use a data disk, this file is automatically excluded
from the \(a"sync\(a" process.
2011-09-03 11:17:25 +02:00
.PP
This option is mandatory and it can be used more time to save
more copies of the same files.
2011-09-03 11:17:25 +02:00
.PP
2011-09-19 20:45:35 +02:00
You have to store at least one copy for each parity disk used
plus one. Using some more don\(cqt hurt.
2011-09-03 11:17:25 +02:00
.SS disk NAME DIR
2011-03-22 23:22:18 +01:00
Defines the name and the mount point of the disks of the array.
NAME is used to identify the disk, and it must be unique.
2011-04-29 23:21:27 +02:00
DIR is the mount point of the disk in the filesystem.
2011-09-03 11:17:25 +02:00
.PP
2011-04-26 23:41:15 +02:00
You can change the mount point as you like, as long you
2011-03-22 23:22:18 +01:00
keep the NAME fixed.
2011-09-03 11:17:25 +02:00
.PP
2011-03-22 23:22:18 +01:00
You should use one option for each disk of the array.
.SS nohidden
2012-10-14 10:08:39 +02:00
Excludes all the hidden files and directory.
In Unix hidden files are the ones starting with \(a".\(a".
2012-10-14 10:08:39 +02:00
In Windows they are the ones with the hidden attribute.
2011-09-03 11:17:25 +02:00
.SS exclude/include PATTERN
2011-04-26 18:51:42 +02:00
Defines the file or directory patterns to exclude and include
in the sync process.
2011-04-29 23:21:27 +02:00
All the patterns are processed in the specified order.
2011-09-03 11:17:25 +02:00
.PP
2011-04-29 23:21:27 +02:00
If the first pattern that matches is an \(a"exclude\(a" one, the file
2011-10-31 15:49:42 +01:00
is excluded. If it\(cqs an \(a"include\(a" one, the file is included.
2011-04-26 18:51:42 +02:00
If no pattern matches, the file is excluded if the last pattern
2011-10-31 15:49:42 +01:00
specified is an \(a"include\(a", or included if the last pattern
specified is an \(a"exclude\(a".
2011-09-03 11:17:25 +02:00
.PP
See the PATTERN section for more details in the pattern
specifications.
.PP
2011-03-22 23:22:18 +01:00
This option can be used many times.
2011-09-03 11:17:25 +02:00
.SS block_size SIZE_IN_KIBIBYTES
2011-04-29 23:21:27 +02:00
Defines the basic block size in kibi bytes of the redundancy
blocks. Where one kibi bytes is 1024 bytes.
2011-03-22 23:22:18 +01:00
The default is 256 and it should work for most conditions.
2011-04-23 08:58:00 +02:00
You could increase this value if you do not have enough RAM
memory to run SnapRAID.
2011-03-22 23:22:18 +01:00
.PP
As a rule of thumb, with 4 GiB or more memory use the default 256,
with 2 GiB use 512, and with 1 GiB use 1024.
2011-09-03 11:17:25 +02:00
.PP
In more details SnapRAID requires about TS*24/BS bytes
of RAM memory to run. Where TS is the total size in bytes of
your disk array, and BS is the block size in bytes.
.PP
2011-03-22 23:22:18 +01:00
For example with 6 disk of 2 TiB and a block size of 256 KiB
(1 KiB = 1024 Bytes) you have:
.PP
2011-04-23 08:58:00 +02:00
RAM = (6 * 2 * 2^40) * 24 / (256 * 2^10) = 1.1 GiB
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
.PP
2011-04-23 08:58:00 +02:00
You could instead decrease this value if you have a lot of
2011-03-22 23:22:18 +01:00
small files in the disk array. For each file, even if of few
bytes, a whole block is always allocated, so you may have a lot
of unused space.
2011-04-23 08:58:00 +02:00
As approximation, you can assume that half of the block size is
wasted for each file.
.PP
For example, with 10000 files and a 256 KiB block size, you are
going to waste 1.2 GiB.
.SS autosave SIZE_IN_GIBIBYTES
Automatically save the state when synching after the specied amount
of GiB processed.
This option is useful to avoid to restart from scratch long \(a"sync\(a"
2012-03-24 09:25:29 +01:00
commands interrupted by a machine crash, or any other event that
may interrupt SnapRAID.
The SIZE argument is specified in gibibytes. Where one gibi bytes
is 1073741824 bytes.
.SS pool DIR
Defines the pooling directory where the virtual view of the disk
array is created using the \(a"pool\(a" command.
The directory must already exist.
2011-09-03 11:17:25 +02:00
.SS Examples
2011-05-04 19:51:30 +02:00
An example of a typical configuration for Unix is:
2011-03-22 23:22:18 +01:00
.PP
.RS 4
parity /mnt/diskpar/parity
.PD 0
.PP
.PD
content /mnt/diskpar/content
.PD 0
.PP
.PD
content /var/snapraid/content
.PD 0
.PP
.PD
2011-03-22 23:22:18 +01:00
disk d1 /mnt/disk1/
.PD 0
.PP
.PD
disk d2 /mnt/disk2/
.PD 0
.PP
.PD
disk d3 /mnt/disk3/
.PD 0
.PP
.PD
exclude /lost+found/
.PD 0
.PP
.PD
2011-05-04 19:51:30 +02:00
exclude /tmp/
.PD 0
.PP
.PD
.RE
.PP
An example of a typical configuration for Windows is:
.PP
.RS 4
parity E:\(rspar\(rsparity
.PD 0
.PP
.PD
content E:\(rspar\(rscontent
.PD 0
.PP
.PD
content C:\(rssnapraid\(rscontent
.PD 0
.PP
.PD
disk d1 G:\(rsarray\(rs
.PD 0
.PP
.PD
disk d2 H:\(rsarray\(rs
.PD 0
.PP
.PD
disk d3 I:\(rsarray\(rs
.PD 0
.PP
.PD
exclude Thumbs.db
.PD 0
.PP
.PD
exclude \(rs$RECYCLE.BIN
2011-05-04 19:51:30 +02:00
.PD 0
.PP
.PD
exclude \(rsSystem Volume Information
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
.RE
.SH PATTERN
2011-04-26 18:51:42 +02:00
Patterns are used to select a subset of files to exclude or include in
the process.
2011-03-22 23:22:18 +01:00
.PP
There are four different types of patterns:
.TP
.B FILE
Selects any file named as FILE. You can use any globbing
2011-03-22 23:22:18 +01:00
character like * and ?.
This pattern is applied only to files and not to directories.
2011-03-22 23:22:18 +01:00
.TP
.B DIR/
Selects any directory named DIR. You can use any globbing
2011-03-22 23:22:18 +01:00
character like * and ?.
This pattern is applied only to directories and not to files.
.TP
.B /PATH/FILE
Selects the exact specified file path. You can use any
globbing character like * and ? but they never match a
2011-03-22 23:22:18 +01:00
directory slash.
This pattern is applied only to files and not to directories.
2011-03-22 23:22:18 +01:00
.TP
.B /PATH/DIR/
Selects the exact specified directory path. You can use any
globbing character like * and ? but they never match a
2011-03-22 23:22:18 +01:00
directory slash.
This pattern is applied only to directories and not to files.
.PP
In Windows you can freely use the backslash \(rs instead of the forward slash /.
.PP
Note that Windows system directories, junction to directories,
mount points, and any other Windows special directory is treated just
as a file, meaning that to exclude it you must use a file rule, and
not a directory one.
.PP
2011-04-26 23:41:15 +02:00
In the configuration file, you can use different strategies to filter
2011-04-26 18:51:42 +02:00
the files to process.
The simplest one is to use only \(a"exclude\(a" rules to remove all the
2011-04-26 18:51:42 +02:00
files and directories you do not want to process. For example:
2011-03-22 23:22:18 +01:00
.PP
.RS 4
2013-08-20 12:23:46 +02:00
# Excludes any file named \(a"*.unrecoverable\(a"
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
2013-08-20 12:23:46 +02:00
exclude *.unrecoverable
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
# Excludes the root directory \(a"/lost+found\(a"
.PD 0
.PP
.PD
exclude /lost+found/
.PD 0
.PP
.PD
2011-04-26 18:51:42 +02:00
# Excludes any sub\(hydirectory named \(a"tmp\(a"
2011-03-22 23:22:18 +01:00
.PD 0
.PP
.PD
exclude tmp/
.PD 0
.PP
.PD
.RE
.PP
2011-04-26 18:51:42 +02:00
The opposite way is to define only the file you want to process, using
only \(a"include\(a" rules. For example:
.PP
.RS 4
# Includes only some directories
.PD 0
.PP
.PD
include /movies/
.PD 0
.PP
.PD
include /musics/
.PD 0
.PP
.PD
include /pictures/
.PD 0
.PP
.PD
.RE
.PP
The final way, is to mix \(a"exclude\(a" and \(a"include\(a" rules. In this case take
care that the order of rules is important. Previous rules have the
precedence over the later ones.
To get things simpler you can first have all the \(a"exclude\(a" rules and then
all the \(a"include\(a" ones. For example:
.PP
.RS 4
2013-08-20 12:23:46 +02:00
# Excludes any file named \(a"*.unrecoverable\(a"
2011-04-26 18:51:42 +02:00
.PD 0
.PP
.PD
2013-08-20 12:23:46 +02:00
exclude *.unrecoverable
2011-04-26 18:51:42 +02:00
.PD 0
.PP
.PD
# Excludes any sub\(hydirectory named \(a"tmp\(a"
.PD 0
.PP
.PD
exclude tmp/
.PD 0
.PP
.PD
# Includes only some directories
.PD 0
.PP
.PD
include /movies/
.PD 0
.PP
.PD
include /musics/
.PD 0
.PP
.PD
include /pictures/
.PD 0
.PP
.PD
.RE
.PP
On the command line, using the \(hyf option, you can only use \(a"include\(a"
patterns. For example:
.PP
.RS 4
# Checks only the .mp3 files.
.PD 0
.PP
.PD
2011-04-26 18:51:42 +02:00
# Note the \(a"\(a" use to avoid globbing expansion by the shell in Unix.
.PD 0
.PP
.PD
snapraid \(hyf \(a"*.mp3\(a" check
.PD 0
.PP
.PD
.RE
.PP
In Unix, when using globbing chars in the command line, you have to quote them.
Otherwise the shell will try to expand them.
.SH RECOVERING
The worst happened, and you lost a disk!
.PP
DO NOT PANIC! You will be able to recover it!
.PP
The first thing you have to do is to avoid futher changes at you disk array.
2011-11-16 20:42:27 +01:00
Disable any remote connection to it, any scheduled process, including any
scheduled SnapRAID nightly sync.
.PP
Then proceed with the following steps.
.SS STEP 1 \(hy> Reconfigure
2011-10-31 15:49:42 +01:00
You need some space to recover, even better if you already have an additional
disk, but in case, also an external USB or remote one is enough.
.PP
2012-06-27 22:48:55 +02:00
Change the SnapRAID configuration file and make the \(a"disk\(a" option
of the failed disk to point to a place where you have enough empty space
to recover the files.
.PP
For example, if you have that disk \(a"d1\(a" failed, you can change:
.PP
.RS 4
disk d1 /mnt/disk1/
.PD 0
.PP
.PD
.RE
.PP
to:
.PP
.RS 4
disk d1 /mnt/new_spare_disk/
.PD 0
.PP
.PD
.RE
.SS STEP 2 \(hy> Fix
Run the fix command, storing the log in an external file with:
.PP
.RS 4
snapraid \(hyd NAME \(hyl fix.log fix
.PD 0
.PP
.PD
.RE
.PP
Where NAME is the name of the disk, like \(a"d1\(a" as in our previous example.
.PP
This command will take a long time.
.PP
2013-08-18 17:21:39 +02:00
You can also add the \(a"\(hyv\(a" option to see on the console the fixed files.
.PP
2012-06-27 22:48:55 +02:00
Take care that you need also few gigabytes free to store the fix.log file.
Run it from a disk with some free space.
.PP
2011-10-31 15:49:42 +01:00
Now you have recovered all the recoverable. If some file is partially or totally
unrecoverable, it will be renamed adding the \(a".unrecoverable\(a" extension.
.PP
You can get a detailed list of all the unrecoverable blocks in the fix.log file
checking all the lines starting with \(a"unrecoverable:\(a"
.PP
If you are not satified of the recovering, you can retry it as many time you wish.
2011-11-16 20:42:27 +01:00
For example, if you have moved away some files from other disks after the last \(a"sync\(a",
you can retry to put them inplace, and retry the \(a"fix\(a".
.PP
2011-10-31 09:41:12 +01:00
If you are satisfied of the recovering, you can now proceed further,
but take care that after synching you will no more able to retry the
2011-11-16 20:42:27 +01:00
\(a"fix\(a" command!
2011-10-31 09:41:12 +01:00
.SS STEP 3 \(hy> Check
As paranoid but recommended check, you can now run a \(a"check\(a" command to ensure
that everything is OK on the disk.
.PP
.RS 4
snapraid \(hyd NAME \(hya check
.PD 0
.PP
.PD
.RE
.PP
Where NAME is the name of the disk, like \(a"d1\(a" as in our previous example.
.PP
The options \(hyd and \(hya tell SnapRAID to check only the specified disk,
2013-08-20 12:23:46 +02:00
and ignore all the redundancy data.
.PP
2011-10-31 09:41:12 +01:00
This command will take a long time.
.SS STEP 4 \(hy> Sync
2011-11-16 20:42:27 +01:00
Run the \(a"sync\(a" command to resyncronize the array with the new disk.
2011-10-31 09:41:12 +01:00
.PP
2011-11-16 20:42:27 +01:00
To avoid a long time sync you can use the \(a"\(hy\(hyfind\(hyby\(hyname\(a" option to
2011-10-31 15:49:42 +01:00
force SnapRAID to ignore the fact that all the recovered files are now in
2011-11-16 20:42:27 +01:00
a different physical disk, but they are not changed.
.PP
.RS 4
2011-10-31 09:41:12 +01:00
snapraid \(hy\(hyfind\(hyby\(hyname sync
.PD 0
.PP
.PD
.RE
.PP
2011-10-31 09:41:12 +01:00
If everything was recovered, this command is immediate.
2011-03-22 23:22:18 +01:00
.SH CONTENT
2011-04-26 23:41:15 +02:00
SnapRAID stores the list and checksums of your files in the content file.
2011-03-22 23:22:18 +01:00
.PP
2013-08-18 17:21:39 +02:00
It\(cqs a binary file, listing all the files present in your disk array,
with all the checksums to verify their integrity.
2011-04-29 23:21:27 +02:00
.PP
2013-08-18 17:21:39 +02:00
You do not need to understand its format to use SnapRAID.
2011-03-29 18:57:13 +02:00
.PP
2013-08-18 17:21:39 +02:00
This file is read and written by the \(a"sync\(a" and \(a"scrub\(a" commands, and
2013-08-20 12:23:46 +02:00
only read by \(a"fix\(a", \(a"check\(a" and \(a"status\(a".
2011-03-22 23:22:18 +01:00
.SH PARITY
SnapRAID stores the redundancy information of your array in the parity
and q\(hyparity files.
2011-03-29 18:57:13 +02:00
.PP
They are binary files, containing the computed redundancy of all the
blocks defined in the \(a"content\(a" file.
2011-04-29 23:21:27 +02:00
.PP
You do not need to understand its format, but it\(cqs described here
for documentation.
2011-03-22 23:22:18 +01:00
.PP
These files are read and written by the \(a"sync\(a" and \(a"fix\(a" commands, and
2011-03-29 18:57:13 +02:00
only read by \(a"check\(a".
2011-03-22 23:22:18 +01:00
.PP
For all the blocks at a given position, the parity and the q\(hyparity
are computed as specified in:
.PP
.RS 4
2011-04-26 23:41:15 +02:00
http://kernel.org/pub/linux/kernel/people/hpa/raid6.pdf
.PD 0
.PP
.PD
.RE
2011-03-22 23:22:18 +01:00
.PP
2011-03-29 18:57:13 +02:00
When a file block is shorter than the default block size, for example
because it\(cqs the last block of a file, it\(cqs assumed as filled with 0
at the end.
.SH ENCODING
2011-10-31 15:49:42 +01:00
SnapRAID in Unix ignores any encoding. It simply reads and stores the
file names with the same encoding used by the filesystem.
.PP
In Windows all the names read from the filesystem are converted and
processed in the UTF\(hy8 format.
.PP
To have the file names printed correctly you have to set the Windows
console in the UTF\(hy8 mode, with the command \(a"chcp 65001\(a", and use
2011-10-31 15:49:42 +01:00
a TrueType font like \(a"Lucida Console\(a" as console font.
Note that it has effect only on the printed file names, if you
redirect the console output to a file, the resulting file is always
in the UTF\(hy8 format.
2011-03-22 23:22:18 +01:00
.SH COPYRIGHT
This file is Copyright (C) 2011 Andrea Mazzoleni
.SH SEE ALSO
rsync(1)