Import DB: fix location

This commit is contained in:
simon lehericey 2018-08-24 17:37:58 +02:00 committed by Pierre de La Morinerie
parent 272701f148
commit 46c29465a2

View file

@ -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"