Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mvila/ec2-backup
Easy backup your EC2 instances
https://github.com/mvila/ec2-backup
Last synced: about 1 month ago
JSON representation
Easy backup your EC2 instances
- Host: GitHub
- URL: https://github.com/mvila/ec2-backup
- Owner: mvila
- Created: 2012-12-03T20:29:01.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-04-18T10:08:00.000Z (over 7 years ago)
- Last Synced: 2024-10-05T22:30:54.795Z (about 1 month ago)
- Language: CoffeeScript
- Size: 4.88 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ec2-backup
Easy backup your EC2 instances.
`ec2-backup` creates snapshots of all attached volumes of an EC2 instance
and automatically purges snapshots that not correspond to:* the last 10 days,
* the last 10 mondays,
* the first day of the last 10 months.**Important:** in order to properly select purgeable snapshots,
`ec2-backup` should be run daily.## Installation
$ sudo npm -g install coffee-script
$ npm install ec2-backup## Configuration
Put your AWS credentials in the `config.json` file.
## Usage
$ ec2-backup
To automatically launch `ec2-backup` every night, just add a cron job
like this:0 4 * * * /path/to/ec2-backup.coffee >> /var/log/ec2-backup.log 2>&1
## License
MIT