Thank you to @valdearg for the PR #215 👍
Thank you to @Riewest for the feature suggestion #210
New Features
Enable/Disable CRON Schedule
Completely disable the recurring backup via a CRON scheudle.
This could be useful if you want to run Nautical manually via Backup On Start or the Rest API.
Default: true (CRON enabled)
CRON_SCHEDULE_ENABLED=false
Create a Dated Destination Folder
This option will tell Nautical to create a new destination folder on backup.
For example: /dest_folder/2024-04-05/contianer
Default: false
USE_DEST_DATE_FOLDER=true
Destination Folder Format
Use the Python time.strftime() module to format format the destination folder's name.
Default: %Y-%m-%d (2024-04-05 for example)
Format: Python time.strftime() format
DEST_DATE_FORMAT=Nautical Backup - %Y-%m-%d
Tip
You are allowed to use almost anything in this field
While it may be a intended to use the date format here, you don't have to.
You could set this value to latest backup
or insert addional text around the date format like this: Nautical Backup - %Y-%m-%d
.
Use this setting to add a prefix and/or suffix to the dated folder.
Destination Folder Path
Use this option to designate which path strategy is used when creating a dated destination directory.
date/container
= /dest_folder/2024-04-05
/container1container/date
= /dest_folder/container1/2024-04-05
Default: date/container
Options:
container/date
ordate/container
DEST_DATE_PATH_FORMAT="date/container"
What's Changed
- Update docs by @renovate in #213
- Create dated destination folder by @Minituff in #217
- Allow disable of CRON schedule by @Minituff in #219
Full Changelog: v2.2.0...v2.3.0