Sha256: ec6a0a55430db75c088ed243b7e220bfb8ace002699a48b418082a7bcf76a09b
Contents?: true
Size: 529 Bytes
Versions: 1
Compression:
Stored size: 529 Bytes
Contents
namespace :hatchbox do namespace :pg do # Creates a new backup on heroku, downloads that backup to latest.dump, and then calls pg:load # # bundle exec rake heroku:pull # bundle exec rake heroku:pull[staging] desc 'Pulls a newly captured backup from heroku (--remote heroku by default) and calls pg:load' task :pull, [:remote] => :environment do |t, args| args.with_defaults(remote: ENV['HATCHBOX_IP']) puts "=== Pulling remote '#{args.remote}' database into latest.dump" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
effective_developer-0.4.15 | lib/tasks/hatchbox.rake |