Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Disaster Recovery for Elastic Block Store

branch: master

gitignore tweak

latest commit 92d5b20c36
Garett Shulman authored June 23, 2012
Octocat-spinner-32 bin DREBS 0.0.1 February 29, 2012
Octocat-spinner-32 lib DREBS 0.0.1 February 29, 2012
Octocat-spinner-32 .gitignore gitignore tweak June 23, 2012
Octocat-spinner-32 README.md doc tweak March 01, 2012
Octocat-spinner-32 Rakefile DREBS 0.0.1 February 29, 2012
Octocat-spinner-32 drebs.gemspec updating gemspec June 23, 2012
README.md

DREBS (Disaster Recovery for Elastic Block Store)

About

  • DREBS is a tool for taking periodic snapshots of EBS volumes.
  • DREBS is designed to be run on the EC2 host which the EBS volumes to be snapshoted are attached.
  • DREBS supports configurable retention strategies.
  • DREBS supports configurable pre and post snapshot tasks such as dumping databases prior to snapshot for consistency.

Installation & Setup

  1. Clone the repo or install the gem
  2. Currently configuration is located at the top of the drebs bin. Add you ec2 key, etc.
  3. Add Crontab entry: 0 * * * * drebs

Issues

  • State including config is cached in drebs_state.json. This file will need to be deleted to get drebs to pick up new config. Doing so will orphan current snapshots which will need to be deleted manually.

Todo

  • Tests!
  • Refactor using main with db for state and external config
  • Use Whenever gem for crontab setup
  • Arbitrary execution intervals (Snapshots every 5 minutes instead of every hour)
Something went wrong with that request. Please try again.