X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a5afb29c460ffe42f50daa8481a4a4fdeb778026..936bd38e3bc0b4a4243cf6c92a2e404d4212b55c:/roles/db-slave.rb diff --git a/roles/db-slave.rb b/roles/db-slave.rb index 03b6fd89b..5b5c09b33 100644 --- a/roles/db-slave.rb +++ b/roles/db-slave.rb @@ -10,12 +10,12 @@ default_attributes( :hot_standby_feedback => "on", :standby_mode => "on", :primary_conninfo => { - :host => "karm.ic.openstreetmap.org", + :host => "karm.ams.openstreetmap.org", :port => "5432", :user => "replication", :passwords => { :bag => "db", :item => "passwords" } }, - :restore_command => "/usr/bin/rsync karm.ic.openstreetmap.org::archive/%f %p" + :restore_command => "/usr/local/bin/openstreetmap-wal-e --terse wal-fetch %f %p" } } }