Update nodemgmt-scripts.sh

This commit is contained in:
2023-05-13 22:54:16 -05:00
parent 97d1b1904a
commit ff98f1f93a

View File

@@ -117,7 +117,7 @@ BACKUP(){
# [ "${action}" != "backup" ] &&
echo -en "Backing up '${item}'... "
#tar -czPf ${BACKUP_FOLDER}/${item}.tar.gz -C ${BACKUP_ITEMS[$item]} .
tar -czPf ${BACKUP_FOLDER}/${item}.tar.gz -g ${BACKUP_FOLDER}/backup.snar -C ${BACKUP_ITEMS[$item]} . --exclude='./data/repository' --exclude='*/.stfolder' --exclude='*/.stversions' --exclude='*/.git'
tar -czPf ${BACKUP_FOLDER}/${item}.tar.gz -g ${BACKUP_FOLDER}/backup.snar -C ${BACKUP_ITEMS[$item]} . --exclude='./data/repository' --exclude='*/.stfolder' --exclude='*/.stversions' --exclude='*/.git' >/dev/null 2>&1
# [ "${action}" != "backup" ] &&
echo -e "${idsCL[Green]}Ok${idsCL[Default]}"
else