Skip to content

reevoo/stratocumulus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ( https://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

About

Backup Databases to Cloud Storage

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages