:defaults => {
:wal_level => "hot_standby",
:archive_mode => "on",
- :archive_command => "/bin/cp %p /store/postgresql/archive/%f",
+ :archive_command => "/usr/local/bin/openstreetmap-wal-e --terse wal-push %p",
:max_wal_senders => "3",
:late_authentication_rules => [
{ :database => "replication", :user => "replication", :address => "146.179.159.168/32" },
: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"
}
}
}