mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 01:32:38 +00:00
Make date in backup filename ISO 8601 compliant (#2574)
This commit is contained in:
parent
2bc58e083d
commit
185e6b20ad
@ -9,7 +9,7 @@ set -e
|
||||
shopt -s extglob
|
||||
pushd `dirname $0` > /dev/null
|
||||
|
||||
backupBundleFileName="backup-`date +%d-%m-%Y-%H-%M-%S`.tgz"
|
||||
backupBundleFileName="backup_`date +%Y-%m-%d_%H-%M-%S`.tgz"
|
||||
echo Making a backup of the current installation in ./data/backups/$backupBundleFileName
|
||||
mkdir -p ./data/backups > /dev/null
|
||||
touch ./data/backups/$backupBundleFileName
|
||||
|
Loading…
x
Reference in New Issue
Block a user