unify backup suffixes

Origin commit data
------------------
Commit: 30d4eec937
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-11-10 (Tue, 10 Nov 2020)

Origin message was:
------------------
- unify backup suffixes
This commit is contained in:
vanhofen
2020-11-10 22:01:57 +01:00
parent aa8a9262f6
commit a769edb61d
2 changed files with 7 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
. /etc/init.d/globals
HOST=$(hostname)
DATE=$(date +%Y-%m-%d_%H-%M-%S)
DATE=$(date +%Y%m%d_%H%M)
USRF="/var/tuxbox/config/tobackup.conf"
BAKF="$1/${2:-settings_${HOST}_${DATE}.tar.gz}"