Code Monkey home page Code Monkey logo

Comments (6)

zertrin avatar zertrin commented on August 16, 2024

Hi @rubyvrooom,

duplicity-backup is only a wrapper script for duplicity, which is the software that actually performs the backup.
Support of different backends (like AWS S3 or Glacier) is the job of duplicity (see http://bazaar.launchpad.net/~duplicity-team/duplicity/0.6-series/files/head:/duplicity/backends/).

In this script you can use any backend that duplicity already supports. Supposing that duplicity will support Glacier in the future, for this script it's only a matter of changing the DEST parameter in the config file.

For suggesting duplicity's devs implement support of Glacier you should try there : https://launchpad.net/duplicity

from duplicity-backup.sh.

jaltek avatar jaltek commented on August 16, 2024

@rubyvrooom, just FYI:
https://bugs.launchpad.net/duplicity/+bug/1039511

from duplicity-backup.sh.

rubyvrooom avatar rubyvrooom commented on August 16, 2024

yup, saw that. thanks. new to the space.

from duplicity-backup.sh.

jaltek avatar jaltek commented on August 16, 2024

Just a short update on that:

Amazon annouced the "Archiving Amazon S3 Data to Amazon Glacier" Feature:
http://aws.typepad.com/aws/2012/11/archive-s3-to-glacier.html

So you are able to define a "lifecycle rule" to archive objects from S3 to Glacier automatically

from duplicity-backup.sh.

arichiardi avatar arichiardi commented on August 16, 2024

Sorry to beat a dead horse, but given that duplicity seems not to have support or Glacier, which make sense actually, should this script provide it?

It would be awesome at list to generate the commands necessary to create lifecycle rules that one could execute himself and warn/mark when one archive resides in glacier.

We handle time and lifecycle rules already...other ideas and hints are welcome, I would love to have something like duply.

Maybe we can reopen this issue @zertrin?

from duplicity-backup.sh.

zertrin avatar zertrin commented on August 16, 2024

Sorry but I think this is out of scope for this script.

Glacier is really a different approach to file storage and there is no easy way of automating all of it, even less so in a simple bash script.

Implementing all the needed logic to manage Glacier already looks like the job for a dedicated tool (and I'm persuaded that there is some already available).

This script only cares about facilitating usage of duplicity. As long duplicity doesn't support Glacier as a backend (and I don't see it coming any time soon), there is nothing we can do here.

The example you linked just uses S3 buckets with a manually defined lifecycle rule "Configuration: Archive to the Glacier Storage Class 1 days after the object's creation date.". You can do the same already with our wrapper, that's just configuration on AWS side.

from duplicity-backup.sh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.