mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 19:08:27 +00:00
Update arkmanager
Added the OK. Still needs work.
This commit is contained in:
parent
a945b954c3
commit
db3bc524e0
@ -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?)
|
||||
#
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user