Git Product home page Git Product logo

tar-glacier's Introduction

tar-glacier

Using old-school Unix tools to create incremental tar backups in Glacier.

Simple usage:

tar-glacier [-L <0|1>]        # Backup level
            [-p <prefix> ]    # Backup prefix -- defaults to hostname
	    [-s <s3 bucket> ] # S3 Bucket to store metadata -- defaults to s3://tar-glacier
	    [pathname ...]    # Paths to be archived

Example:

The simplest form is:
# tar-glacier ~/

This will archive your home directory using s3://tar-glacier to store metadata. The actual tar archives will be stored in a Glacier Vault named "tar-glacier-`hostname`-`date +%Y%m`". The first time you run the command it will back up everything (a "level 0" backup.) For the rest of the month, additional executions will back up only changes since the initial backup ("level 1" backups.)

Note: all backups are either level 0 or level 1, meaning restoring a snapshot only requires the initial level 0 backup and a single level 1 backup. Intermediate level 1 backups are not needed.

TODO:

* Encrypt backups (Public Key with GPG).
* Compress backups (probably not worth it at Glacier prices).
* Resumable backups (stop backup and restart, error recovery, etc.)
* Lots of error checking.
* Restore from backup. (!!!)

tar-glacier's People

Contributors

mikewebkist avatar

Stargazers

Satoshi Takata avatar

Watchers

 avatar James Cloos avatar

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.