X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/098634e073c80dfde4038715bc683985b18c5184..9001884cfd99a46391b9e39845b5f6f5dd64d41c:/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