]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/forum/templates/default/backup.cron.erb
Use rsync preallocate files to avoid fragmentation
[chef.git] / cookbooks / forum / templates / default / backup.cron.erb
index ec30196d3097cbe8a836004f981ed1be3ac602ea..c3475b87663bd2dfd47b39b7161424382c76699f 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 forum-$D
-nice rsync $T/$B backup::backup
+nice rsync --preallocate --fuzzy $T/$B backup::backup
 
 rm -rf $T