diff --git a/backup.sh b/backup.sh index 632d1e1..e3d0b18 100755 --- a/backup.sh +++ b/backup.sh @@ -276,34 +276,17 @@ err503Path="$scriptPath/503.html" err503File="${err503Path##*/}" # set default sqlDetails path to scriptPath -sqlDetails="$scriptPath/nc_sql.details" +sqlDetails="$scriptPath/seaf_sql.details" # set default borgDetails path to scriptPath -borgDetails="$scriptPath/nc_borg.details" +borgDetails="$scriptPath/seaf_borg.details" # set borg parameters to 'normal' verbosity borgCreateParams='--stats' borgPruneParams='--list' -### Set script parameters to null and initialize array variables -unset PARAMS -unset sqlDumpDir -unset webroot -unset ncRoot -unset webUser -unset clean503 -unset sqlParams -unset ncDataDir -unset borgXtra -unset borgExclude -unset borgPrune -unset BORG_BASE_DIR -unset BORG_RSH -unset BORG_REPO -unset BORG_PASSPHRASE -unset BORG_REMOTE_PATH -unset TMPDIR +### initialize array variables exitError=() errorExplain=() exitWarn=()