added extra parameters for tar

This commit is contained in:
2019-10-12 15:30:01 +02:00
parent 36398733e0
commit a064248000
2 changed files with 4 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ healthchck_ok(){
cd /backup
echo "make archive"
tar -c --checkpoint=.1000 ${TAR_PARAM} -f ~/$BACKUP_FILENAME ./* || healthchck_fail
tar -c --checkpoint=.1000 ${TAR_PARAM} ${TAR_EXTRA_PARAM} -f ~/$BACKUP_FILENAME ./* || healthchck_fail
cd /
echo " done"