]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/donate/templates/default/backup.cron.erb
Use rsync preallocate files to avoid fragmentation
[chef.git] / cookbooks / donate / templates / default / backup.cron.erb
index 7ff3ee08aa6413d7e453eb45f63c3c7e0a0fd6ee..92b66cf005bcf36f9dfab5a09937cc2ec47c402f 100644 (file)
@@ -17,6 +17,6 @@ export GZIP="--rsyncable -9"
 export RSYNC_RSH="ssh -ax"
 
 nice tar --create --gzip --dereference --directory=$T --file=$T/$B osm-donate-$D
-nice rsync $T/$B backup::backup
+nice rsync --preallocate --fuzzy $T/$B backup::backup
 
 rm -rf $T