From d215cec7c30b694e106cfa3c5eb46b0407dcb130 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Tue, 4 Sep 2018 18:28:40 -0600 Subject: [PATCH] Added sqlDetails section in variable defintions at top of script. --- root/scripts/borgbackup.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/root/scripts/borgbackup.sh b/root/scripts/borgbackup.sh index 4dff078..80f5618 100755 --- a/root/scripts/borgbackup.sh +++ b/root/scripts/borgbackup.sh @@ -36,6 +36,15 @@ err503FileName=503-backup.html # (default: /SQLdump) sqlDumpDir=/SQLdump +# FULL path to SQL details file (explained in blog) +# This is a 4 line file in the EXACT format: +#sqlHostMachineName +#sqlDBUsername +#sqlDBPassword +#sqlDBName +#(default: /root/sqlDetails) +sqlDetails=/root/sqlDetails + # Borg BASE directory (default: /var/borgbackup) borgBaseDir=/var/borgbackup