X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3ae5b9b4fbb5a637df5a9e8138cd421e0c6e74e7..83d06e03270dcde98d829f8a930d89cf6c276856:/cookbooks/otrs/templates/default/backup.cron.erb diff --git a/cookbooks/otrs/templates/default/backup.cron.erb b/cookbooks/otrs/templates/default/backup.cron.erb index 4be1ce99f..6724e3ca4 100644 --- a/cookbooks/otrs/templates/default/backup.cron.erb +++ b/cookbooks/otrs/templates/default/backup.cron.erb @@ -11,10 +11,10 @@ chown otrs $T chown otrs $T/otrs-$D sudo -u otrs pg_dump --file=$T/otrs-$D/otrs.dmp otrs ln -s /opt/otrs $T/otrs-$D/otrs -ln -s /etc/apache2/sites-available/otrs.openstreetmap.org $T/otrs-$D/apache2-otrs.openstreetmap.org +ln -s /etc/apache2/sites-available/otrs.openstreetmap.org.conf $T/otrs-$D/apache2-otrs.openstreetmap.org.conf export GZIP="--rsyncable -9" -export RSYNC_RSH="ssh -ax -c arcfour" +export RSYNC_RSH="ssh -ax" nice tar --create --gzip --dereference --directory=$T --file=$T/$B otrs-$D nice rsync $T/$B backup::backup