Merge lp:~aaron-whitehouse/duplicity/08-fix-man-verify into lp:~duplicity-team/duplicity/0.8-series

Proposed by Aaron Whitehouse
Status: Merged
Merged at revision: 1238
Proposed branch: lp:~aaron-whitehouse/duplicity/08-fix-man-verify
Merge into: lp:~duplicity-team/duplicity/0.8-series
Diff against target: 48 lines (+18/-7)
1 file modified
bin/duplicity.1 (+18/-7)
To merge this branch: bzr merge lp:~aaron-whitehouse/duplicity/08-fix-man-verify
Reviewer Review Type Date Requested Status
duplicity-team Pending
Review via email: mp+325044@code.launchpad.net

Description of the change

Fix description of --verify and --compare-data in the man page. Now clarifies that verify compares the restored files to hashes stored at backup date, while --compare-data compares restored files to files in target_path.

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
=== modified file 'bin/duplicity.1'
--- bin/duplicity.1 2017-05-12 21:55:05 +0000
+++ bin/duplicity.1 2017-06-04 16:35:10 +0000
@@ -168,17 +168,22 @@
168168
169.TP169.TP
170.BI "verify " "[--compare-data] [--time <time>] [--file-to-restore <rel_path>] <url> <local_path>"170.BI "verify " "[--compare-data] [--time <time>] [--file-to-restore <rel_path>] <url> <local_path>"
171Restore backup contents temporarily file by file and compare against the local path's contents.171Verify tests the integrity of the backup archives at the remote location by downloading each file
172duplicity will exit with a non-zero error level if any files are different.172and checking both that it can restore the archive and that the restored file matches the signature
173On verbosity level info (4) or higher, a message for each file that has173of that file stored in the backup, i.e. compares the archived file with its hash value from archival
174changed will be logged.174time. Verify does not actually restore and will not overwrite any local files. Duplicity
175will exit with a non-zero error level if any files do not match the signature stored in the archive
176for that file. On verbosity level 4 or higher, it will log a message for each file that differs
177from the stored signature. Files must be downloaded to the local machine in order to compare them.
178Verify does not compare the backed-up version of the file to the current local copy of the files
179unless the --compare-data option is used (see below).
175.br180.br
176The181The
177.I --file-to-restore182.I --file-to-restore
178option restricts verify to that file or folder.183option restricts verify to that file or folder.
179The184The
180.I --time185.I --time
181option allows to select a backup to verify against.186option allows to select a backup to verify.
182The187The
183.I --compare-data188.I --compare-data
184option enables data comparison (see below).189option enables data comparison (see below).
@@ -344,8 +349,14 @@
344349
345.TP350.TP
346.BI --compare-data351.BI --compare-data
347Enable data comparison of regular files on action verify.352Enable data comparison of regular files on action verify. This conducts a
348This is disabled by default for performance reasons.353verify as described above to verify the integrity of the backup archives,
354but additionally compares restored files to those in target_directory.
355Duplicity will not replace any files in target_directory. Duplicity will
356exit with a non-zero error level if the files do not correctly verify or
357if any files from the archive differ from those in target_directory. On
358verbosity level 4 or higher, it will log a message for each file that
359differs from its equivalent in target_directory.
349360
350.TP361.TP
351.BI --copy-links362.BI --copy-links

Subscribers

People subscribed via source and target branches