X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f999eaef5a6e203a0bbaa2076b0577c82839e4d6..8afa9c8430e784f33e55fca3249324dbb1ec2cec:/cookbooks/mailman/templates/default/backup.cron.erb diff --git a/cookbooks/mailman/templates/default/backup.cron.erb b/cookbooks/mailman/templates/default/backup.cron.erb index 486694a1e..12a550c03 100644 --- a/cookbooks/mailman/templates/default/backup.cron.erb +++ b/cookbooks/mailman/templates/default/backup.cron.erb @@ -10,8 +10,9 @@ mkdir $T/lists-$D ln -s /var/lib/mailman $T/lists-$D/mailman export GZIP="--rsyncable -9" +export RSYNC_RSH="ssh -ax" nice tar --create --gzip --dereference --directory=$T --file=$T/$B lists-$D -nice rsync $T/$B backup::backup +nice rsync --preallocate --fuzzy $T/$B backup::backup rm -rf $T