From a89fcb86b3cfd2e446af81045d053f6c06c1c9f9 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 15 Nov 2016 09:06:03 +0000 Subject: [PATCH] Ubuntu 12.04 doesn't understand --preallocate --- cookbooks/db/templates/default/backup-db.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5