backup-script: allow free definable filename for backup tarball

Origin commit data
------------------
Branch: ni/coolstream
Commit: cf1b3ef3ee
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-17 (Tue, 17 Oct 2017)

Origin message was:
------------------
- backup-script: allow free definable filename for backup tarball

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-10-17 10:43:51 +02:00
parent f3e9e200b9
commit 4b0a40c22e

View File

@@ -5,7 +5,7 @@
HOST=$(hostname)
DATE=$(date +%Y-%m-%d_%H-%M-%S)
USRF="/var/tuxbox/config/tobackup.conf"
BAKF="$1/settings_${HOST}_${DATE}.tar.gz"
BAKF="$1/${2:-settings_${HOST}_${DATE}.tar.gz}"
TOBACKUP="\
/share/tuxbox/neutrino/flex/flex_eigene_scripte.conf \