]> git.openstreetmap.org Git - chef.git/blobdiff - roles/db-slave.rb
Switch postgres replication to use WAL-E
[chef.git] / roles / db-slave.rb
index 03b6fd89b3c930954576794ba0884a5ac4e223b2..3f7fa44f2724a99b2419907e277e07974a53c5dc 100644 (file)
@@ -15,7 +15,7 @@ default_attributes(
           :user => "replication",
           :passwords => { :bag => "db", :item => "passwords" }
         },
           :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"
       }
     }
   }
       }
     }
   }