Script for load databases backups from remote to local database
- For postgresql install postgresql-client package
Install gems
bundle install
Only download backup:
bundle exec ruby backup.rb config_name stage
Download backup and apply in local db:
bundle exec ruby backup.rb config_name stage apply