Update nodemgmt-scripts.sh
This commit is contained in:
@@ -152,7 +152,8 @@ BACKUP(){
|
|||||||
for item in "${!BACKUP_ITEMS[@]}"
|
for item in "${!BACKUP_ITEMS[@]}"
|
||||||
do
|
do
|
||||||
echo -en "Backing up '${item}'... "
|
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]}"
|
echo -e "${idsCL[Green]}Ok${idsCL[Default]}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user