X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0ee02f2cb1a86e7196b0c4bc620010deb503c583..a661370166bbac0bbe8c8b1f0ba947e3a269edee:/cookbooks/git/templates/default/backup.cron.erb diff --git a/cookbooks/git/templates/default/backup.cron.erb b/cookbooks/git/templates/default/backup.cron.erb index 13f1067b1..29e059b45 100644 --- a/cookbooks/git/templates/default/backup.cron.erb +++ b/cookbooks/git/templates/default/backup.cron.erb @@ -9,6 +9,7 @@ B=<%= node[:git][:backup] %>-$D.tar.gz ln -s /var/lib/git $T/git-$D export GZIP="--rsyncable -9" +export RSYNC_RSH="ssh -ax" nice tar --create --gzip --dereference --directory=$T --file=$T/$B git-$D nice rsync $T/$B backup::backup