X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f1fcd97392a104350c03f6b8618d7f2c7f52fffe..090fe909149f22d158c859a7d4a9edfb523df2fb:/cookbooks/chef/templates/default/repository-backup.cron.erb diff --git a/cookbooks/chef/templates/default/repository-backup.cron.erb b/cookbooks/chef/templates/default/repository-backup.cron.erb index 2e55f0575..f82e7b227 100644 --- a/cookbooks/chef/templates/default/repository-backup.cron.erb +++ b/cookbooks/chef/templates/default/repository-backup.cron.erb @@ -9,6 +9,6 @@ ln -s /var/lib/git/chef.git $T/chef-repository-$D export GZIP="--rsyncable -9" nice tar --create --gzip --dereference --directory=$T --file=$T/$B chef-repository-$D -nice rsync $T/$B backup::backup +nice rsync --preallocate --fuzzy $T/$B backup::backup rm -rf $T