0.0
No commit activity in last 3 years
No release in over 3 years
Backup Databases to Cloud Storage
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 0.9
~> 0.19.1
 Project Readme

Stratocumulus

Build Status Test Coverage Code Climate Gem Version

Stratocumulus is for backing up databases to cloud storage

Installation

$ gem install stratocumulus

Usage

$ stratocumulus backup /path/to/config.yml
s3:
  access_key_id: KEY_ID
  secret_access_key: SECRET_KEY
  bucket: database-backups
  folder: staging # optional
  region: eu-west-1 # defaults to us-east-1
databases:
  -
    type: mysql
    name: database_name
    storage: s3
    username: database_user # defaults to root
    password: database_pass # defaults to no password
    host: db1.example.com # defaults to localhost
    port: 3306 # defaults to 3306
  -
    type: mysql
    name: some_other_database
    storage: s3

Dependencies

  • mysqldump
  • gzip
  • Ruby, (tested on mri 1.9.3, 2.0.0 and 2.1.2)

Contributing

  1. Fork it ( http://github.com/reevoo/stratocumulus/fork )
  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