Skip to content

Manual backup wrong filename #627

@rizlas

Description

@rizlas

Describe the bug

When triggering a manual backup, the backup is executed correctly, but the file naming is wrong and does not respect what is defined in the configuration file (BACKUP_FILENAME env var). In the backup filename prefix, only backup-%Y-%m-%dT%H-%M-%S.{{ .Extension }} is used instead of the expected mybestbackup-%Y-%m-%dT%H-%M-%S.{{ .Extension }}.

To Reproduce

Steps to reproduce the behavior:

  1. Configure the backup prefix in the configuration file asmybestbackup-%Y-%m-%dT%H-%M-%S.{{ .Extension }}.
  2. Trigger a manual backup as described in the documentation.
  3. Check the generated backup filename.

Expected behavior

The generated backup filename should use the prefix configured in the file (e.g., mybestbackup-...) instead of the default backup-....

Version (please complete the following information):

Image Version: v2
Docker Version: 28.3.3
Docker Compose Version (if applicable): 2.39.1

Additional context

If this behavior is intentional, it is not specified in the documentation:
https://offen.github.io/docker-volume-backup/how-tos/manual-trigger.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportSupport Requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions