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