Merge lp:~ed.so/duplicity/0.6-manpage into lp:duplicity/0.6

Proposed by edso
Status: Merged
Merged at revision: 845
Proposed branch: lp:~ed.so/duplicity/0.6-manpage
Merge into: lp:duplicity/0.6
Diff against target: 320 lines (+109/-77)
1 file modified
bin/duplicity.1 (+109/-77)
To merge this branch: bzr merge lp:~ed.so/duplicity/0.6-manpage
Reviewer Review Type Date Requested Status
duplicity-team Pending
Review via email: mp+96569@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/duplicity.1'
2--- bin/duplicity.1 2012-02-05 19:07:35 +0000
3+++ bin/duplicity.1 2012-03-08 13:28:00 +0000
4@@ -1,73 +1,91 @@
5 .TH DUPLICITY 1 "$reldate" "Version $version" "User Manuals" \" -*- nroff -*-
6
7 .SH NAME
8-duplicity \- Encrypted backup using rsync algorithm
9+duplicity \- Encrypted incremental backup to local or remote storage.
10+
11+.SH REQUIREMENTS
12+Duplicity requires a POSIX-like operating system.
13+It is best used under GNU/Linux.
14+
15+Some backends also require additional components:
16+.IP * 2
17+.B "ssh backend"
18+(scp/sftp/ssh)
19+.RS
20+.IP - 2
21+.B paramiko
22+SSH2 for python - http://www.lag.net/paramiko/
23+.IP - 2
24+.B pycrypto
25+Python Cryptography Toolkit - http://www.dlitz.net/software/pycrypto/
26+.RE
27+.IP * 2
28+.B "boto backend"
29+(S3 Amazon Web Services)
30+.RS
31+.IP - 2
32+.B boto
33+- http://github.com/boto/boto
34+.RE
35
36 .SH SYNOPSIS
37-.B duplicity
38-.BI [ options ]
39-.I source_directory target_url
40-
41-.B duplicity
42-.BI [ options ]
43-.I source_url target_directory
44-
45-.B duplicity full
46-.BI [ options ]
47-.I source_directory target_url
48-
49-.B duplicity incremental
50-.BI [ options ]
51-.I source_directory target_url
52-
53-.B duplicity restore
54-.BI [ options ]
55-.I source_url target_directory
56+.B duplicity [full|incremental]
57+.I [options]
58+.I source_directory target_url
59
60 .B duplicity verify
61-.BI [ options ]
62+.I [options]
63+.I [--file-to-restore <relpath>]
64 .I source_url target_directory
65
66 .B duplicity collection-status
67-.BI [ options ]
68+.I [options]
69 .I target_url
70
71 .B duplicity list-current-files
72-.BI [ options ]
73+.I [options]
74+.I [--time time]
75 .I target_url
76
77-.B duplicity cleanup
78-.BI [ options ]
79-.BI [ --force ]
80-.I target_url
81+.B duplicity [restore]
82+.I [options]
83+.I [--file-to-restore <relpath>]
84+.I [--time time]
85+.I source_url target_directory
86
87 .B duplicity remove-older-than
88 .I time
89-.BI [ options ]
90-.BI [ --force ]
91+.I [options]
92+.I [--force]
93 .I target_url
94
95 .B duplicity remove-all-but-n-full
96 .I count
97-.BI [ options ]
98-.BI [ --force ]
99+.I [options]
100+.I [--force]
101 .I target_url
102
103 .B duplicity remove-all-inc-of-but-n-full
104 .I count
105-.BI [ options ]
106-.BI [ --force ]
107+.I [options]
108+.I [--force]
109+.I target_url
110+
111+.B duplicity cleanup
112+.I [options]
113+.I [--force]
114 .I target_url
115
116 .SH DESCRIPTION
117 Duplicity incrementally backs up files and directory
118 by encrypting tar-format volumes with GnuPG and uploading them to a
119-remote (or local) file server. Currently local, ftp, sftp/scp, rsync,
120-WebDAV, WebDAVs, Google Docs, HSi and Amazon S3 backends are available.
121+remote (or local) file server. See
122+.B URL FORMAT
123+for a list all supported backends and how to address them.
124 Because duplicity uses
125 librsync, the incremental archives are space efficient and only record
126 the parts of files that have changed since the last backup. Currently
127-duplicity supports deleted files, full Unix permissions, directories,
128+duplicity supports deleted files, full Unix permissions, uid/gid, directories,
129 symbolic links, fifos, etc., but not hard links.
130
131 If you are backing up the root directory /, remember to --exclude
132@@ -79,7 +97,7 @@
133 some_dir on the other.host machine:
134 .PP
135 .RS
136-duplicity /home/me scp://uid@other.host/some_dir
137+duplicity /home/me sftp://uid@other.host/some_dir
138 .PP
139 .RE
140 If the above is run repeatedly, the first will be a full backup, and
141@@ -88,14 +106,14 @@
142 action:
143 .PP
144 .RS
145-duplicity full /home/me scp://uid@other.host/some_dir
146+duplicity full /home/me sftp://uid@other.host/some_dir
147 .PP
148 .RE
149 Now suppose we accidentally delete /home/me and want to restore it
150 the way it was at the time of last backup:
151 .PP
152 .RS
153-duplicity scp://uid@other.host/some_dir /home/me
154+duplicity sftp://uid@other.host/some_dir /home/me
155 .PP
156 .RE
157 Duplicity enters restore mode because the URL comes before the local
158@@ -103,14 +121,14 @@
159 /home/me as it was three days ago into /home/me/restored_file:
160 .PP
161 .RS
162-duplicity -t 3D --file-to-restore Mail/article scp://uid@other.host/some_dir /home/me/restored_file
163+duplicity -t 3D --file-to-restore Mail/article sftp://uid@other.host/some_dir /home/me/restored_file
164 .PP
165 .RE
166 The following command compares the files we backed up, so see what has
167 changed since then:
168 .PP
169 .RS
170-duplicity verify scp://uid@other.host/some_dir /home/me
171+duplicity verify sftp://uid@other.host/some_dir /home/me
172 .PP
173 .RE
174 Finally, duplicity recognizes several include/exclude options. For
175@@ -139,40 +157,53 @@
176 FTP_PASSWORD=mypassword duplicity /local/dir ftp://user@other.host/some_dir
177
178 .SH ACTIONS
179-
180-.TP
181-.B cleanup
182-Delete the extraneous duplicity files on the given backend.
183-Non-duplicity files, or files in complete data sets will not be
184-deleted. This should only be necessary after a duplicity session
185-fails or is aborted prematurely. Note that
186-.I --force
187-will be needed to delete the files rather than just list them.
188-
189-.TP
190-.B collection-status
191-Summarize the status of the backup repository by printing the chains
192-and sets found, and the number of volumes in each.
193+Duplicity knows actions, which can be finetuned with options.
194+The actions for backup (full,incr) and restoration (restore) can as well be
195+left out as duplicity detects in what mode it should switch to by the order
196+of target URL and local folder. If the target URL comes before the local folder
197+a restore is in order, is the local folder before target URL then this folder
198+is about to be backed up to the target URL.
199
200 .TP
201 .B full
202-Indicate full backup. If this is set, perform full backup even if
203-signatures are available.
204+Perform a full backup. If this is set, a new backup chain is started even if
205+signatures are available for an incremental backup.
206
207 .TP
208 .BR incr
209 If this is requested an incremental backup will be performed.
210 Duplicity will abort if old signatures cannot be
211-found. The default is to switch to full backup under these
212+found. The default is to switch to full backup under these
213 conditions.
214
215 .TP
216-.B list-current-files
217-Lists the files currently backed up in the archive. The information
218-will be extracted from the signature files, not the archive data
219-itself. Thus the whole archive does not have to be downloaded, but on
220+.B collection-status
221+Summarize the status of the backup repository by printing the chains
222+and sets found, and the number of volumes in each.
223+
224+.TP
225+.BI "list-current-files " "[--time <time>]"
226+Lists the files contained in the most current backup or backup at time.
227+The information will be extracted from the signature files, not the archive data
228+itself. Thus the whole archive does not have to be downloaded, but on
229 the other hand if the archive has been deleted or corrupted, this
230-command may not detect it.
231+command will not detect it.
232+
233+.TP
234+.BI "verify " "[--file-to-restore <relpath>]"
235+Enter verify mode instead of restore. If the --file-to-restore option
236+is given, restrict verify to that file or directory. duplicity will
237+exit with a non-zero error level if any files are different. On
238+verbosity level 4 or higher, log a message for each file that has
239+changed.
240+
241+.TP
242+.BI "restore " "[--file-to-restore <relpath>] [--time <time>]"
243+You can restore the full monty or selected folders/files from a specific time.
244+Use the relative path as it is printed by
245+.BR list-current-files .
246+Usually not needed as duplicity enters restore mode when it detects that the URL
247+comes before the local folder.
248
249 .TP
250 .BI "remove-older-than " time
251@@ -209,12 +240,13 @@
252 will be needed to delete the files rather than just list them.
253
254 .TP
255-.B verify
256-Enter verify mode instead of restore. If the --file-to-restore option
257-is given, restrict verify to that file or directory. duplicity will
258-exit with a non-zero error level if any files are different. On
259-verbosity level 4 or higher, log a message for each file that has
260-changed.
261+.B cleanup
262+Delete the extraneous duplicity files on the given backend.
263+Non-duplicity files, or files in complete data sets will not be
264+deleted. This should only be necessary after a duplicity session
265+fails or is aborted prematurely. Note that
266+.I --force
267+will be needed to delete the files rather than just list them.
268
269 .SH OPTIONS
270
271@@ -561,7 +593,7 @@
272 Can be passed multiple times. An example:
273 .PP
274 .RS
275-duplicity restore --rename Documents/metal Music/metal scp://uid@other.host/some_dir /home/me
276+duplicity restore --rename Documents/metal Music/metal sftp://uid@other.host/some_dir /home/me
277 .PP
278 .RE
279
280@@ -575,7 +607,7 @@
281 designating the remote port to use. Here is a possibly useful example:
282 .PP
283 .RS
284-duplicity --rsync-options="--partial-dir=.rsync-partial" /home/me scp://uid@other.host/some_dir
285+duplicity --rsync-options="--partial-dir=.rsync-partial" /home/me rsync://uid@other.host/some_dir
286 .PP
287 .RE
288
289@@ -609,14 +641,15 @@
290 addressing. This is now the preferred method to access Amazon S3, but
291 is not backwards compatible if your bucket name contains upper-case
292 characters or other characters that are not valid in a hostname.
293+
294 .TP
295 .BI "--scp-command " command
296-Deprecated and ignored. The sftp/scp backend does no longer use an external
297+Deprecated and ignored. The ssh backend does no longer use an external
298 scp client program.
299
300 .TP
301 .BI "--sftp-command " command
302-Deprecated and ignored. The sftp/scp backend does no longer use an external
303+Deprecated and ignored. The ssh backend does no longer use an external
304 sftp client program.
305
306 .TP
307@@ -637,10 +670,9 @@
308
309 .TP
310 .B --ssh-askpass
311-Tells the sftp/scp backend to use FTP_PASSWORD from the environment,
312-or, if that is not present, to prompt the user for the remote system
313-password. This password is also used for ssh keys that are passphrase-protected.
314-Without this option the password is expected in the url.
315+Tells the ssh backend to prompt the user for the remote system password,
316+if it was not defined in target url and no FTP_PASSWORD env var is set.
317+This password is also used for passphrase-protected ssh keys.
318
319 .TP
320 .BI "--ssh-options " options

Subscribers

People subscribed via source and target branches

to all changes: