X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/098634e073c80dfde4038715bc683985b18c5184..a6b0ce09972cb11aa279a31b4bd28da96e0bc500:/cookbooks/chef/templates/default/server-backup.cron.erb diff --git a/cookbooks/chef/templates/default/server-backup.cron.erb b/cookbooks/chef/templates/default/server-backup.cron.erb index c1e2100b3..048bc99e9 100644 --- a/cookbooks/chef/templates/default/server-backup.cron.erb +++ b/cookbooks/chef/templates/default/server-backup.cron.erb @@ -13,6 +13,6 @@ ln -s /var/opt/opscode/bookshelf/data $T/chef-server-$D/bookshelf export GZIP="--rsyncable -9" nice tar --create --gzip --dereference --directory=$T --file=$T/$B chef-server-$D -nice rsync $T/$B backup::backup +nice rsync --preallocate --fuzzy $T/$B backup::backup rm -rf $T