From 3dd9c1f272387bcb4da921f33e6d922db539e950 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 16 May 2024 03:25:14 +0100 Subject: [PATCH] otrs: update backup script --- cookbooks/otrs/templates/default/backup.cron.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/otrs/templates/default/backup.cron.erb b/cookbooks/otrs/templates/default/backup.cron.erb index aecce1c64..cc782c29c 100644 --- a/cookbooks/otrs/templates/default/backup.cron.erb +++ b/cookbooks/otrs/templates/default/backup.cron.erb @@ -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" -- 2.39.5