]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/db/templates/default/backup-db.erb
Document php version requirement
[chef.git] / cookbooks / db / templates / default / backup-db.erb
index 78ae1c8f75f9f1f6df17a4778a166b63dc494b3b..573f31a5edd7a60d7f993c04ae2be7dcc9eca525 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 
 # DO NOT EDIT - This file is being maintained by Chef
 
@@ -6,6 +6,6 @@ D=`date +%Y-%m-%d`
 F=/store/backup/osm-${D}.dmp
 
 pg_dump --user=backup --format=custom --file=$F openstreetmap && \
-  rsync --rsh="ssh -ax" $F backup.openstreetmap.org::backup
+  rsync $F backup.openstreetmap.org::backup
 
 rm -f $F