Posts Tagged ‘cloud’
My patch to add support to duplicity for Google Cloud Storage was merged and released with duplicity version 0.6.22. Now backing up to GCS is as easy as backing up to S3. Here are the steps:
- Install duplicity >= 0.6.22.
- Enable Interoperable Access in the Cloud Storage Dashboard.
- Generate Interoperable Storage Access Keys in the Cloud Storage Dashboard.
- Create your bucket:
$ gsutil mb -c DRA gs://BUCKETNAME
-c DRAflag enables Durable Reduced Availability for this bucket, which makes sense for backups.
gsutil config -ato generate a
~/.botoconfiguration file with your key info. Alternatively (or if you don’t use gsutil) you can set the
- Backup using a
gs://URL. For example:
$ duplicity --full-if-older-than 1M --exclude /home/user/.cache \ /home/user gs://BUCKETNAME/backups/user