I have already set a backup routine that backups all my files to Amazon S3 using duplicity. I would like to create a similar backup routine with Google Cloud Storage. Is it possible to get duplicity to work with GCS?
I have already set a backup routine that backups all my files to Amazon S3 using duplicity. I would like to create a similar backup routine with Google Cloud Storage. Is it possible to get duplicity to work with GCS?
There is now (since 2013-07-19 - version 0.6.22) support to use Google Cloud Storage directly in duplicity.
You should use
gsutil config -a
to create a~/.boto
config file. And then you can use duplicity like this:Also of note is that only the old authentication mechanism is supported. You should enable "Interoperable Access" from your Google Storage Console.
Detailed steps on http://www.willdurness.com/back-up-your-vm-to-google-cloud-storage-using-duplicity.
_boto_single.py
file which provides the backend for single-threaded S3 transactions.gsutil
tool to sync S3 with GCS, as Jorge's answer indicates; alternately, you could use Duplicity to backup locally and then sync that with GCS usinggsutil
.This is a partial-answer that might help the next person:
So far it seems that copying things to Google Drive/Docs is supported:
However this is different from Google Cloud Storage. I think this should be doable since duplicity and gsutil both use boto, but I'm not sure if this requires work to be done in duplicity itself though.
As a work around until you sort this, you can certainly copy directly from the s3 to the GCS buckets:
Version v0.6.22 (2013/08/22) of Duplicity added Google Cloud Storage support.
deja-dup
34.1 (duplicity's GUI) now has "experimental support for Google Cloud Storage" (https://launchpad.net/deja-dup/+milestone/34.1)(I tried enabling interoperability for HMAC authentication on my GCS buckets and specifying an S3 Bucket in earlier versions of Deja-Dup - similar to how
duplicity
does it - but to no avail)