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