Requested by #380
Thank you to @mrjk for help of troubleshooting and PR review.
New Environment Variable
Container Backup Date vs Nautical Start Date
Use the precise date for formatting the destination folder
When false
, use the time Nautical started the backup (not when the container was backed up).
Default: false
USE_CONTAINER_BACKUP_DATE=true
Understanding USE_CONTAINER_BACKUP_DATE
.
Let's say you have the following format: DEST_DATE_FORMAT=%Y-%m-%d_%H-%M-%S
Since the timing is so precise (using seconds) we may get a result like this:
-- src
|-- 2024-11-24_14-26-43
|-- 2024-11-24_14-26-44
|-- 2024-11-24_14-28-10
But what we actually want is a result like this:
-- src
|-- 2024-11-24_14-26-43
# The folder that was here is now within in `2024-11-24_14-26-43` folder
|-- 2024-11-24_14-28-10
By setting USE_CONTAINER_BACKUP_DATE=false
, then the date used will be the time Nautical actually started, not the time when each container is processed.
Meaning that even if the containers take a few minutes to backup, the folder format will remain the same for each of them.
What Else Changed
- Update minituff/nautical-backup Docker tag to v2.8.1 by @renovate in #381
- Add
USE_CONTAINER_BACKUP_DATE
by @Minituff in #382 - Update docker/metadata-action action to v5.6.1 by @renovate in #377
- Update codecov/codecov-action action to v5 by @renovate in #372
Full Changelog: v2.8.1...v2.9.0