From: Tom Hughes Date: Tue, 15 Nov 2016 09:06:03 +0000 (+0000) Subject: Ubuntu 12.04 doesn't understand --preallocate X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/a89fcb86b3cfd2e446af81045d053f6c06c1c9f9 Ubuntu 12.04 doesn't understand --preallocate --- diff --git a/cookbooks/db/templates/default/backup-db.erb b/cookbooks/db/templates/default/backup-db.erb index a625a2ef5..492dded40 100644 --- a/cookbooks/db/templates/default/backup-db.erb +++ b/cookbooks/db/templates/default/backup-db.erb @@ -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