This commit is contained in:
2023-07-09 17:02:55 -05:00
parent d5c2ff8991
commit 78e89be68a
2 changed files with 4 additions and 2 deletions

View File

@@ -1101,7 +1101,7 @@ SERVICEBACKUP(){
msg="Backing Up Service"; c=0; spc=''; spc1=$((${cw_spc}-${#msg})); until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
echo -en "${idsCL[White]}${msg}${spc} : ${idsCL[Default]}"
BACKUPDIR=/opt/Backups/${usrvc}
BACKUPDIR=${NM_BACKUP_FOLDER}/${usrvc}
[ ! -d ${BACKUPDIR} ] && mkdir -p ${BACKUPDIR}
[ "${MM_SERVICE_APP[$usrvc]}" != "" ] && APPBAKFOLDER=${MM_SERVICE_APP[$usrvc]} || APPBAKFOLDER=/opt/${usrvc^}