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}"
|
local_file = "/tmp/#{filename}"
|
||||||
|
|
||||||
if !File.exist?(local_file)
|
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
|
end
|
||||||
|
|
||||||
dev_env_param = "RAILS_ENV=development"
|
dev_env_param = "RAILS_ENV=development"
|
||||||
|
|
Loading…
Reference in a new issue