What's Changed
- Fixed bug with API timestamps being 12hr instead of 24hr. Thank you @robflate for reporting this. More info here: #308
- Added
last_backup_seconds_taken
to the Dashboard API. Thank you @robflate for the idea. More info here: #309
New Label
Require Source Folder for Backup
Use this label to tell Nautical to process (start/stop) this container even if it cannot find a matching source directory.
Default If Missing: true (container will be skipped if no matching source folder is found)
nautical-backup.source-dir-required=false
Example
Here we have an example Immich deployment. Notice the immich-server
does not have any mounted directories, but we still want to stop/start it along with it's other services. This is especially helpful when combined with the Groups feature.
immich-server:
container_name: immich_server
volumes:
# No volumes to backup
labels:
- "nautical-backup.group=immich"
- "nautical-backup.source-dir-required=false"
immich-redis:
container_name: immich_redis
volumes:
- ${APPDATADIR}/immich/redis:/data
labels:
- "nautical-backup.group=immich"
- "nautical-backup.override-source-dir=immich/redis"
immich-database:
container_name: immich_postgres
volumes:
- ${APPDATADIR}/immich/database:/var/lib/postgresql/data
labels:
- "nautical-backup.group=immich"
- "nautical-backup.override-source-dir=immich/database"
More info on this here: #307
What Else Changed
- Update dependency httpx to v0.27.2 by @renovate in #303
- Update dependency mkdocs-material to v9.5.34 by @renovate in #306
- API Updates by @Minituff in #311
Full Changelog: v2.5.2...v2.6.0