1
0
mirror of https://github.com/offen/docker-volume-backup.git synced 2025-05-13 21:46:39 +02:00
docker-volume-backup/docs/how-tos/replace-deprecated-backup-stop-container-label.md
2024-02-22 17:42:53 +01:00

663 B

title, layout, parent, nav_order
title layout parent nav_order
Replace deprecated BACKUP_STOP_CONTAINER_LABEL setting default How Tos 20

Replace deprecated BACKUP_STOP_CONTAINER_LABEL setting

Version v2.36.0 deprecated the BACKUP_STOP_CONTAINER_LABEL setting and renamed it BACKUP_STOP_DURING_BACKUP_LABEL which is supposed to signal that this will stop both containers and services. Migrating is done by renaming the key for your custom value:

    env:
-     BACKUP_STOP_CONTAINER_LABEL: database
+     BACKUP_STOP_DURING_BACKUP_LABEL: database

The old key will stay supported until the next major version, but logs a warning each time a backup is taken.