update external filenames and remove unset vars
This commit is contained in:
parent
3ed929a74c
commit
0b95c16f0f
23
backup.sh
23
backup.sh
@ -276,34 +276,17 @@ err503Path="$scriptPath/503.html"
|
|||||||
err503File="${err503Path##*/}"
|
err503File="${err503Path##*/}"
|
||||||
|
|
||||||
# set default sqlDetails path to scriptPath
|
# set default sqlDetails path to scriptPath
|
||||||
sqlDetails="$scriptPath/nc_sql.details"
|
sqlDetails="$scriptPath/seaf_sql.details"
|
||||||
|
|
||||||
# set default borgDetails path to scriptPath
|
# set default borgDetails path to scriptPath
|
||||||
borgDetails="$scriptPath/nc_borg.details"
|
borgDetails="$scriptPath/seaf_borg.details"
|
||||||
|
|
||||||
# set borg parameters to 'normal' verbosity
|
# set borg parameters to 'normal' verbosity
|
||||||
borgCreateParams='--stats'
|
borgCreateParams='--stats'
|
||||||
borgPruneParams='--list'
|
borgPruneParams='--list'
|
||||||
|
|
||||||
|
|
||||||
### Set script parameters to null and initialize array variables
|
### 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
|
|
||||||
exitError=()
|
exitError=()
|
||||||
errorExplain=()
|
errorExplain=()
|
||||||
exitWarn=()
|
exitWarn=()
|
||||||
|
Loading…
Reference in New Issue
Block a user