]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/switch2osm/templates/default/backup.cron.erb
Use rsync preallocate files to avoid fragmentation
[chef.git] / cookbooks / switch2osm / templates / default / backup.cron.erb
index 5f913f3d535720e9b63fd46b085a1416134f2b8f..54717f49cc17062f22918baf58e965dd6bd88717 100644 (file)
@@ -16,6 +16,6 @@ ln -s /srv/switch2osm.org $T/switch2osm-$D/www
 export GZIP="--rsyncable -9"
 
 nice tar --create --gzip --dereference --directory=$T --file=$T/$B switch2osm-$D
-nice rsync $T/$B backup::backup
+nice rsync --preallocate --fuzzy $T/$B backup::backup
 
 rm -rf $T