From 314416f07c940dc7b46ab2df349e186d74e96a13 Mon Sep 17 00:00:00 2001 From: Budman17r Date: Mon, 2 Nov 2015 11:09:30 -0600 Subject: [PATCH] Tar the Backup files, #Tar the files and remove the original Backup Directory. Saves about 50MB of disk space per backup --- tools/arkmanager | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/arkmanager b/tools/arkmanager index 4ecdeca..68052ce 100755 --- a/tools/arkmanager +++ b/tools/arkmanager @@ -1160,6 +1160,10 @@ 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 -Pzcvf "${datestamp}.tar.gz" "${backupdir}" +rm -rf ${backupdir} + } #