Skip to content

default label with variables #1072

Open
@maletin

Description

@maletin

i run barman backup all via crontab on different versions.
i would like to configure the label/name for each system in a way, that i can directly see some informations
from barman show-backup like PostgreSQL Version or Parent Backup.
are there already better ideas like barman list-backups --full?

$ grep default_label -B1 /etc/barman.d/vs6.conf
[vs6]
default_label = "version=${PostgreSQL Version},parent=${Parent Backup}"

$ barman list-backups all
vs6 20250316T181347 'version=17004,parent=20250316T175954' - I - STARTED
vs6 20250316T175954 'version=17002,parent=null' - F - Sun Mar 16 18:10:35 2025 - Size: 37.5 MiB - WAL Size: 16.1 KiB

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions