Merge pull request #2491 from betagouv/fix_import_db_task
Import DB: fix location
This commit is contained in:
commit
0f4a75ac89
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ namespace :dev do
|
|||
local_file = "/tmp/#{filename}"
|
||||
|
||||
if !File.exist?(local_file)
|
||||
run_and_stop_if_error "scp -C deploy@sgmap_backup:/var/backup/production1/db/#{filename} #{local_file}"
|
||||
run_and_stop_if_error "scp -C db1:/data/backup/#{filename} #{local_file}"
|
||||
end
|
||||
|
||||
dev_env_param = "RAILS_ENV=development"
|
||||
|
|
Loading…
Reference in a new issue