github Minituff/nautical-backup v2.9.0

latest releases: v2.9.3, v2.9.2, v2.9.1...
10 days ago

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

Full Changelog: v2.8.1...v2.9.0

Don't miss a new nautical-backup release

NewReleases is sending notifications on new releases.