Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-05 09:41:56 -06:00
parent 3d487e546c
commit 5ba3231de6

View File

@@ -152,7 +152,8 @@ BACKUP(){
for item in "${!BACKUP_ITEMS[@]}"
do
echo -en "Backing up '${item}'... "
tar -czPf ${BACKUP_FOLDER}/${item}.tar.gz -C ${BACKUP_ITEMS[$item]} .
#tar -czPf ${BACKUP_FOLDER}/${item}.tar.gz -C ${BACKUP_ITEMS[$item]} .
tar -czPf ${item}.tar.gz -g ${BACKUP_FOLDER} -C ${BACKUP_ITEMS[$item]} .
echo -e "${idsCL[Green]}Ok${idsCL[Default]}"
done