diff --git a/mm-scripts.sh b/mm-scripts.sh index 19b993d..edd4bec 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -1069,11 +1069,11 @@ SERVICEBACKUP(){ NOW=`date +%d-%b` if [ "${MM_SERVICE_APP[$usrvc]}" != "none" ]; then echo ${NOW} > ${BACKUPDIR}/app-full-date - /bin/tar ${NEWER} cf - -C ${APPBAKFOLDER}/* | pv -s $(du -sb ${APPBAKFOLDER} | awk '{print $1}') | gzip > ${BACKUPDIR}/app.tgz + /bin/tar ${NEWER} cf - -C ${APPBAKFOLDER} | pv -s $(du -sb ${APPBAKFOLDER} | awk '{print $1}') | gzip > ${BACKUPDIR}/app.tgz fi if [ "${MM_SERVICE_CFG[${usrvc}]}" != "" ] && [ -d ${MM_SERVICE_CFG[${usrvc}]} ]; then echo ${NOW} > ${BACKUPDIR}/cfg-full-date - /bin/tar ${NEWER} cf - -C ${MM_SERVICE_CFG[${usrvc}]}/* | pv -s $(du -sb ${MM_SERVICE_CFG[${usrvc}]} | awk '{print $1}') | gzip > ${BACKUPDIR}/cfg.tgz + /bin/tar ${NEWER} cf - -C ${MM_SERVICE_CFG[${usrvc}]} | pv -s $(du -sb ${MM_SERVICE_CFG[${usrvc}]} | awk '{print $1}') | gzip > ${BACKUPDIR}/cfg.tgz fi else