lib/capistrano/ops/capistrano/v3/tasks/backup.rake in capistrano-ops-0.2.6 vs lib/capistrano/ops/capistrano/v3/tasks/backup.rake in capistrano-ops-0.2.7
- old
+ new
@@ -17,9 +17,9 @@
desc 'pull latest database backups from server to local (deprecated, use backup:database:pull instead)'
task :pull do
on roles(rake_roles) do
warn "deprecated: use 'backup:database:pull' instead, in future versions this task will be removed"
backup_file = backup_file_name('database')
- download! "#{shared_path}/backups/#{backup_file}"
+ download! "#{shared_path}/backups/#{backup_file}", backup_file
end
end
end