]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/otrs/templates/default/backup.cron.erb
minor correction to otrs backup script
[chef.git] / cookbooks / otrs / templates / default / backup.cron.erb
index d377de86fef0bbf4fea27c0a2f9188f05ff3e24b..ccbb3c2d509d8a2bec49c2b44d7750a1414937c9 100644 (file)
@@ -11,9 +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"
 
 nice tar --create --gzip --dereference --directory=$T --file=$T/$B otrs-$D
 nice rsync $T/$B backup::backup