Import DB: fix location
This commit is contained in:
parent
272701f148
commit
46c29465a2
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