]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/osqa/templates/default/backup.cron.erb
Use rsync preallocate files to avoid fragmentation
[chef.git] / cookbooks / osqa / templates / default / backup.cron.erb
index e9d0e7352a8ad1ca48bbe5cf6299ccb98449de0f..3c2abf6a79c259a493b56127a96bc75b0291937f 100644 (file)
@@ -16,6 +16,6 @@ export GZIP="--rsyncable -9"
 export RSYNC_RSH="ssh -ax"
 
 nice tar --create --gzip --dereference --directory=$T --file=$T/$B <%= @name %>-$D
-nice rsync $T/$B backup::backup
+nice rsync --preallocate --fuzzy $T/$B backup::backup
 
 rm -rf $T