diff --git a/CHANGELOG.md b/CHANGELOG.md index 39cd017..3c7d8da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [1.1.0](https://github.com/jokay/docker-loxone-backup/releases/tag/1.1.0) (TBA) + +### Features + +- … + +### Improvements + +- Updated the archive filename. ([#9]) + +### Bugfixes + +- … + ## [1.0.0](https://github.com/jokay/docker-loxone-backup/releases/tag/1.0.0) (2022-12-03) Initial release. + +[#9]: https://github.com/jokay/docker-loxone-backup/issues/9 diff --git a/src/entrypoint.sh b/src/entrypoint.sh index 630a2c2..8fddee1 100755 --- a/src/entrypoint.sh +++ b/src/entrypoint.sh @@ -23,7 +23,7 @@ while :; do log "Backup files from Loxone (${LOXONE_IP}) ..." lftp "${LOXONE_IP}" -u "${LOXONE_USERNAME},${LOXONE_PASSWORD}" -e "set ssl:verify-certificate false; mirror -a --parallel=5 --use-pget-n=1 --skip-noaccess --only-newer --log=ftp.log --use-cache . current; quit" - tar -czf "archives/$(date +%Y-%m-%dT%H-%M-%S).tar.gz" "current/" + tar -czf "archives/loxone_backup_${LOXONE_IP}_$(date +%Y-%m-%d_%H-%M-%S).tar.gz" "current/" if [ "${KEEP_DAYS}" -gt 0 ]; then cd "/data/archives" || exit