- :archive_command => "/bin/cp %p /store/postgresql/archive/%f",
- :max_wal_senders => "2",
- :user_name_maps => {
- :backup => [
- { :system => "osmbackup", :postgres => "backup" }
- ]
- },
- :early_authentication_rules => [
- { :type => "local", :database => "all", :user => "backup", :method => "peer", :options => { :map => "backup" } }
- ],
+ :archive_command => "/usr/local/bin/openstreetmap-wal-e --terse wal-push %p",
+ :max_wal_senders => "3",