Skip to content

Commit d6c3ef5

Browse files
author
cmrd Senya
committed
Also download the generated dump on the db:remote:backup task
1 parent ee461ae commit d6c3ef5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/capistrano-db-tasks/database.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ def local_to_remote(instance)
234234
def backup(instance)
235235
remote_db = Database::Remote.new(instance)
236236
remote_db.dump
237+
remote_db.download
237238
end
238239

239240
def restore_latest(instance)

0 commit comments

Comments
 (0)