add backblaze's B2 cloud storage as backup destination

Bug #1498877 reported by wcchandler
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
Medium
Unassigned

Bug Description

FEATURE REQUEST
======================

Backblaze [1] recently launched a new service -- B2 [2], as a competing product with Amazon S3 and Google Cloud Storage. In doing so they have created an API with which you can interface to do backups and restores [3]. It would be nice if y'all could add B2 as a backup destination.

[1] main page -- https://www.backblaze.com/
[2] about B2 -- https://www.backblaze.com/blog/b2-cloud-storage-provider/
[3] API documentation -- https://www.backblaze.com/b2/docs/

Revision history for this message
adriankoooo (adriankoooo) wrote :

It's supported?

Revision history for this message
adriankoooo (adriankoooo) wrote :

Any update on this?

Changed in duplicity:
importance: Undecided → Medium
milestone: none → 0.7.06
status: New → Fix Committed
Changed in duplicity:
status: Fix Committed → Fix Released
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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.