Skip to content

Commit bfaa8ab

Browse files
committed
Also download the generated dump on the db:remote:backup task
1 parent 5a93c81 commit bfaa8ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/capistrano-db-tasks/database.rb

+1
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ def local_to_remote(instance)
212212
def backup(instance)
213213
remote_db = Database::Remote.new(instance)
214214
remote_db.dump
215+
remote_db.download
215216
end
216217

217218
def restore_latest(instance)

0 commit comments

Comments
 (0)