This gem is designed to allow you to create and send Postgresql backups to AWS S3.
Add this line to your application's Gemfile:
gem 'postgresql-s3-backup'
Or install it yourself as:
$ gem install postgresql-s3-backup
Don't forget to run:
$ bundle
If you don't have a 'config/s3.yml' file just execute:
$ bundle exec create_s3_config
Please insert your S3 credentials in your 'config/s3.yml':
development:
AWS_REGION: ''
AWS_ACCESS_KEY_ID: ''
AWS_SECRET_KEY: ''
backup_bucket_name: ''
staging:
AWS_REGION: ''
AWS_ACCESS_KEY_ID: ''
AWS_SECRET_KEY: ''
backup_bucket_name: ''
production:
AWS_REGION: ''
AWS_ACCESS_KEY_ID: ''
AWS_SECRET_KEY: ''
backup_bucket_name: ''
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
The gem is available as open source under the terms of the MIT License.