Update arkmanager

Adding Knight's recommendation.
This commit is contained in:
Budman17r 2015-11-03 08:36:49 -06:00
parent 314416f07c
commit 1286145c9d

View File

@ -1161,7 +1161,7 @@ doBackup(){
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}"
tar -zcvf "${arkbackupdir}/${datestamp}.tar.gz" -C "${arkbackupdir}" "${datestamp}"
rm -rf ${backupdir}
}