8000 GitHub - wouteroostervld/snaps: snaps is AWS snapshots for the braindead.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wouteroostervld/snaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snaps

snaps is Amazon WebServices EC2 snapshots for the braindead.

Prerequisites

  • Shellaccess to Amazon Linux/FreeBSD/...-instance
  • python 2.6+
  • pip
  • boto

Installation

pip install git+https://github.com/wouteroostervld/what.git
pip install git+https://github.com/wouteroostervld/snaps.git

What does it do?

It creates snapshots of all attached volumes of the current instance. If a snapshot already exists with same description it deletes the old snapshot.

Usage

snaps DESCRIPTION

Examples

To do an hourly rolling backup. Paste this in your crontab (tested on Debian):

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/aws/ec2/bin
AWS_ACCESS_KEY_ID=YOURACCESSKEY
AWS_SECRET_ACCESS_KEY=YOURSECRET
20 *    * * *   snaps `date +\%H`

About

snaps is AWS snapshots for the braindead.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0