Update arkmanager

Added the OK. Still needs work.
This commit is contained in:
Budman17r 2015-11-03 12:19:18 -06:00
parent a945b954c3
commit db3bc524e0

View File

@ -1160,12 +1160,21 @@ doBackup(){
else
echo -e "${NORMAL}[ ${RED}FAILED${NORMAL} ]"
fi
#Tar the files and remove the original Backup Directory. Saves about 50MB of disk space per backup
tar -jcvf "${arkbackupdir}/${datestamp}.tar.bz2" -C "${arkbackupdir}" "${datestamp}"
rm -rf ${backupdir}
#Tar the files and remove the original Backup Directory. Saves about 50MB of disk space per backup
echo -ne "${NORMAL} Compressing Directory "
tar -jcvf "${arkbackupdir}/${datestamp}.tar.bz2" -C "${arkbackupdir}" "${datestamp}"
rm -rf ${backupdir}
if [ -f "${arkbackupdir}/${datestamp}.tar.bz2" ]; then
echo -e "${NORMAL}[ ${GREEN}OK${NORMAL} ]"
else
echo -e "${NORMAL}[ ${RED}FAILED${NORMAL} ]"
fi
}
#
# Print the status of the server (running? online? version?)
#