Sha256: 17cbdb25388136729f6d00a5fbcd62b78912ffeb1e0089c7290030d38392f55b

Contents?: true

Size: 1.45 KB

Versions: 1

Compression:

Stored size: 1.45 KB

Contents

# RDS Backup

This gem backs up RDS databases to different cloud providers, granting an extra level of mind peacefulness.

## Installation

`rds_backup` should be run as a command line tool, so it makes sense to install it globally

```bash
$ gem install rds_backup
```

## Usage

`rds_backup` expects a `config.yml` file on the folder it is run, [here is a sample](config.yml.sample).

Currently, you need a Google Cloud account with access to Cloud Storage. Sign up [here](https://developers.google.com/storage/docs/signup?csw=1) and get your credentials [here](https://storage.cloud.google.com/m) under the section "Interoperable Access".

AWS credentials with access to SES and a Hipchat Room token from API v2 are also required at this time.

Then, simply run the gem's binary:

```bash
$ rds_backup
```

### Cron Usage

This tool is usually scheduled in cron, below is an example

```
0 3 * * * . $HOME/.profile; cd $HOME/rds_backup && rds_backup >> /var/log/rds_backup/rds_backup.log 2>&1
```

## Roadmap

* Tests
* Multiple cloud providers (we're already using fog)
* More yell adapters (Slack, Campfire, IRC, etc)
* More flexibe rules on backups to keep (à la [ec2-expire-snapshots](https://github.com/alestic/ec2-expire-snapshots))

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rds_backup-0.1.0 README.md