]> git.openstreetmap.org Git - chef.git/commitdiff
Ubuntu 12.04 doesn't understand --preallocate
authorTom Hughes <tom@compton.nu>
Tue, 15 Nov 2016 09:06:03 +0000 (09:06 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 15 Nov 2016 09:06:03 +0000 (09:06 +0000)
cookbooks/db/templates/default/backup-db.erb

index a625a2ef5433289662ca80f6a2803b2e800c9206..492dded40be76318cc17b0612f4275237965834b 100644 (file)
@@ -8,6 +8,6 @@ F=/store/backup/osm-${D}.dmp
 pg_dump --user=backup --format=custom --file=$F openstreetmap
 
 export RSYNC_RSH="ssh -ax"
-rsync --preallocate $F backup.openstreetmap.org::backup
+rsync $F backup.openstreetmap.org::backup
 
 rm -f $F