Update mm-scripts.sh

This commit is contained in:
2023-07-09 19:35:18 -05:00
parent 78e89be68a
commit f7d6d0471b

View File

@@ -1116,7 +1116,7 @@ SERVICEBACKUP(){
if [ "${MM_SERVICE_CFG[${usrvc}]}" != "" ] && [ -d ${MM_SERVICE_CFG[${usrvc}]} ]; then
rm -f ${BACKUPDIR}/*cfg*.*
tar -cPpg ${BACKUPDIR}/snapshot-cfg.snar -f ${BACKUPDIR}/cfg-full.tgz ${MM_SERVICE_CFG[${usrvc}]}
[ "${usrvc}" == "radarr" ] && tar -cg ${BACKUPDIR}/snapshot-cfg-3d.snar -f ${BACKUPDIR}/cfg-3d-full.tgz ${MM_SERVICE_CFG['radarr3d']}
[ "${usrvc}" == "radarr" ] && tar -cPpg ${BACKUPDIR}/snapshot-cfg-3d.snar -f ${BACKUPDIR}/cfg-3d-full.tgz ${MM_SERVICE_CFG['radarr3d']}
fi
touch ${BACKUPDIR}/fullbackup
else