Comment 3 for bug 1498877

Revision history for this message
wcchandler (wcchandler) wrote :

Verifying fix. Able to backup/restore using B2 as the backend.

Sample output:
============================================================================
[william@lappy ~]$ mkdir junk
[william@lappy ~]$ cp Downloads/Canada_goose.jpg junk/.
[william@lappy ~]$ duplicity full junk b2://xxxxxxxxe346:xxxxxxxxe8f16bad2b499907f431cb53393d13c1@xxxxxxxxaa337fc05e130416/junk
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
GnuPG passphrase:
Retype passphrase to confirm:
--------------[ Backup Statistics ]--------------
StartTime 1449495213.18 (Mon Dec 7 08:33:33 2015)
EndTime 1449495213.24 (Mon Dec 7 08:33:33 2015)
ElapsedTime 0.07 (0.07 seconds)
SourceFiles 2
SourceFileSize 1197537 (1.14 MB)
NewFiles 2
NewFileSize 1197537 (1.14 MB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 2
RawDeltaSize 1193441 (1.14 MB)
TotalDestinationSizeChange 1193942 (1.14 MB)
Errors 0
-------------------------------------------------

[william@lappy ~]$ mkdir junk_RM
[william@lappy ~]$ mv junk/* junk_RM/.
[william@lappy ~]$ rm junk
rm: cannot remove ‘junk’: Is a directory
[william@lappy ~]$ rm -Rf junk
[william@lappy ~]$

[william@lappy ~]$ duplicity list-current-files b2://xxxxxxxxe346:xxxxxxxxe8f16bad2b499907f431cb53393d13c1@xxxxxxxxaa337fc05e130416/junk
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Mon Dec 7 08:33:17 2015
Mon Dec 7 08:30:16 2015 .
Mon Dec 7 08:30:16 2015 Canada_goose.jpg

[william@lappy ~]$ duplicity verify b2://xxxxxxxxe346:xxxxxxxxe8f16bad2b499907f431cb53393d13c1@xxxxxxxxaa337fc05e130416/junk junk
Verify directory junk does not exist

[william@lappy ~]$ mkdir junk
[william@lappy ~]$ duplicity verify b2://xxxxxxxxe346:xxxxxxxxe8f16bad2b499907f431cb53393d13c1@xxxxxxxxaa337fc05e130416/junk junk
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Mon Dec 7 08:33:17 2015
GnuPG passphrase:
Verify complete: 2 files compared, 0 differences found.

[william@lappy ~]$ ls junk
[william@lappy ~]$ duplicity list-current-files b2://xxxxxxxxe346:xxxxxxxxe8f16bad2b499907f431cb53393d13c1@xxxxxxxxaa337fc05e130416/junk
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Mon Dec 7 08:33:17 2015
Mon Dec 7 08:30:16 2015 .
Mon Dec 7 08:30:16 2015 Canada_goose.jpg
[william@lappy ~]$ duplicity restore b2://xxxxxxxxe346:xxxxxxxxe8f16bad2b499907f431cb53393d13c1@xxxxxxxxaa337fc05e130416/junk junk
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Mon Dec 7 08:33:17 2015
GnuPG passphrase:
[william@lappy ~]$ ls junk
Canada_goose.jpg