Skip to content

Poring Backup is database backup that support rails.

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
MIT-LICENSE
Notifications You must be signed in to change notification settings

piya23300/poring_backup

Repository files navigation

Build Status

PoringBackup

This gem work with rails 4.2.1 up.

Databases support

  • PostgreSQL

Storeages support

  • S3

Installing

rake poring_backup:install

to generate `config/initilizers/poring_backup.rb for setting

Setting

at /config/initilizers/poring_backup.rb

PoringBackup.config do

  before do |logger|
    #do somethings before backup
  end

  after do |logger|
    #do somethings after backup
  end

  database :PostgreSQL do
    database 'database_name'
    username 'username'
    password 'password'
  end

  store_with :S3 do
    access_key_id 'access_key_id'
    secret_access_key 'secret_access_key'
    bucket 'bucket_name'
    region 'region'
    path 'your/path'
  end

end

Usage

rake poring_backup:perform

to run backup


This project rocks and uses MIT-LICENSE.

About

Poring Backup is database backup that support rails.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
MIT-LICENSE

Stars

Watchers

Forks

Packages

No packages published