]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/db/templates/default/backup-db.erb
Restart postgres exporter when the configuration changes
[chef.git] / cookbooks / db / templates / default / backup-db.erb
index 78ae1c8f75f9f1f6df17a4778a166b63dc494b3b..7cf32f39ce7b631dca7474a453c98be9a9a8a094 100644 (file)
@@ -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