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