]> git.openstreetmap.org Git - chef.git/commitdiff
otrs: update backup script
authorGrant Slater <github@firefishy.com>
Thu, 16 May 2024 02:25:14 +0000 (03:25 +0100)
committerGrant Slater <github@firefishy.com>
Thu, 16 May 2024 02:25:14 +0000 (03:25 +0100)
cookbooks/otrs/templates/default/backup.cron.erb

index aecce1c64af1c4feb3ff8e9dce31bff4b5073763..cc782c29cfbf4ea68eae0d2b12155e58606e9573 100644 (file)
@@ -10,7 +10,7 @@ mkdir $T/otrs-$D
 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 /var/lib/otrs $T/otrs-$D/otrs-var
 ln -s /etc/apache2/sites-available/otrs.openstreetmap.org.conf $T/otrs-$D/apache2-otrs.openstreetmap.org.conf
 
 export RSYNC_RSH="ssh -ax"