Skip to content

Commit

Permalink
Also download the generated dump on the db:remote:backup task
Browse files Browse the repository at this point in the history
  • Loading branch information
cmrd-senya committed Nov 6, 2016
1 parent ee461ae commit d6c3ef5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/capistrano-db-tasks/database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ def local_to_remote(instance)
def backup(instance)
remote_db = Database::Remote.new(instance)
remote_db.dump
remote_db.download
end

def restore_latest(instance)
Expand Down

0 comments on commit d6c3ef5

Please sign in to comment.