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