0.0
No commit activity in last 3 years
No release in over 3 years
This gem interacts with Amazon's S3 service to give the user the ability to backup their Engine Yard databases and store them locally. This gem should allow the user to easily automate the process of grabbing the most recent database backup from S3. You can include as many databases in an environment as desired. To get started, check out the documentation.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 1.0.0
~> 1.6.4
>= 0
~> 2.3.0

Runtime

>= 0
>= 0
 Project Readme

Engine Yard Database Backup¶ ↑

Engine Yard Database Backup is used to backup the latest database backup from Amazon’s S3 service. This gem downloads the latest file in the bucket you specify in your AWS S3 account. This backup utility is to make sure there is a recent backup of the database incase Amazon’s S3 service goes down and you need access to your data.

Setting up and using the Engine Yard Database Backup gem¶ ↑

  1. gem install ey_db_backup

  2. Create the directory config within the local directory you are running the gem in.

  3. Create a YAML file config.yml structured as below. The database list items should start with a “-” not a “*”, some sites markup translate “-” into “*”. Be aware that if your YAML file database list entries start with “*” and not “-” if may not work.

    access_key_id: "put your access key id here"
    secret_access_key: "put your secret access key here"
    bucket_name: "put the bucket name here"
    export_path: "put the location you want to export the file to here (e.g. documents/db_exports/)"
    environment: "put which environment you want backed up in Engine Yard (e.g. Production)"
    databases:
      - "list all databases here (e.g. apple)"
      - "(e.g. orange)"
  4. Simply run ey_db_backup run_export to download the latest file in the bucket you specified to the directory you specified.

Configuring Engine Yard Databse Backup for Development¶ ↑

  1. Fork this project.

  2. Create the config file as described above.

  3. Code away!

Contributing to ey_db_export¶ ↑

  • Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet

  • Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it

  • Fork the project

  • Start a feature/bugfix branch

  • Commit and push until you are happy with your contribution

  • Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright © 2011 Brett Chalupa. See LICENSE.txt for further details.