rsync wrapper for pushing incremental backups
修订版 | 337d348bfaebdae8b366163837b05c91a93ecc07 (tree) |
---|---|
时间 | 2019-11-13 16:50:55 |
作者 | Frank Tobin <ftobin@neve...> |
Commiter | Frank Tobin |
add README.md
@@ -0,0 +1,52 @@ | ||
1 | +rsnappush(1) - rsync-based pushed incremental snapshot | |
2 | +============================ | |
3 | + | |
4 | +## SYNOPSIS | |
5 | + | |
6 | +**rsnappush** [**-h**] [**-r RSYNC_OPT**] [**-q**] *SOURCE_PATH* [*ACCOUNT:*]*DEST_PATH* | |
7 | + | |
8 | +## DESCRIPTION | |
9 | + | |
10 | +**rsnappush** is a wrapper around rsync(1) to assist in file-level | |
11 | +incremental snapshots that are pushed to a destination. | |
12 | +Unchanged files are hard-linked. Files are plainly laid | |
13 | +out in a directory for each snapshot: *DEST_PATH*/*backup-YYYYmmdd-HHMM*/ | |
14 | +for easy access and restoration. | |
15 | + | |
16 | +*SOURCE_PATH* is any local path. | |
17 | + | |
18 | +*DEST_PATH* is a path, local or remote. If remote, *ACCOUNT* specifies | |
19 | +an ssh(1)-compatible account description, such as *USER*@*HOST*. | |
20 | + | |
21 | +Additionally, under *DEST_PATH* there is a *permissions*/ directory | |
22 | +created that has compressed output from getfacl(1). setfacl(1) can be used | |
23 | +to restore permissions from this file once it is uncompressed. | |
24 | + | |
25 | +## EXAMPLE | |
26 | + | |
27 | + rsnappush --rsync-opt=--partial-dir=/home/user2/rsync-partial \ | |
28 | + /home/user user2@remotehost:backups/ | |
29 | + | |
30 | + | |
31 | +## OPTIONS | |
32 | + | |
33 | +**-h**, **--help** | |
34 | +: display a help message | |
35 | + | |
36 | +**-r**, **--rsync-opt=RSYNC_OPT** | |
37 | +: pass-thru options to rsync(1). Use the '=' syntax to pass through options, | |
38 | +and include prefixing dashes. See [EXAMPLE][] for details. | |
39 | + | |
40 | +**-q**, **--quiet** | |
41 | +: emit less output | |
42 | + | |
43 | + | |
44 | +## AUTHORS | |
45 | +rsnappush is written by Frank Tobin: <ftobin@neverending.org>, <https://www.neverending.org/> | |
46 | + | |
47 | +rsnappush is released under the Eclipse Public License 2.0 <https://opensource.org/licenses/EPL-2.0>. | |
48 | + | |
49 | +## SEE ALSO | |
50 | + | |
51 | +rsync(1), ssh(1) | |
52 | + |