Skip to content

Commit

Permalink
Merge pull request #10 from jokay/feature/update-archive-filename
Browse files Browse the repository at this point in the history
Update archive filename
  • Loading branch information
jokay authored Dec 3, 2022
2 parents 07fc547 + 3992a15 commit 135eeb8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 135eeb8

Please sign in to comment.