Fix backup sync
authorTom Hughes <tom@compton.nu>
Fri, 20 Oct 2017 17:34:02 +0000 (18:34 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 20 Oct 2017 17:34:02 +0000 (18:34 +0100)
cookbooks/db/templates/default/backup-db.erb

index 78ae1c8..7cf32f3 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