Skip to content

for stanza containing own repo1-path info gives no output #1628

@ikzelf

Description

@ikzelf

pgbackuprest version 2.36
rhel8

cat /etc/pgbackrest/pgbackrest.conf
[global]
backup-standby=y
process-max=3
start-fast=y

repo1-retention-full-type=time
repo1-retention-full = 7
repo1-retention-archive-type=full
repo1-path = /var/lib/pgbackrest/repo1

this works and is ok for most of our databases.

I have a few that should be written to a different location on the same server so I figured: give that a repo1-path:
cat /etc/pgbackrest/conf.d/datalab.conf
[datalab]
pg1-host = dbhost1
pg2-host = dbhost2
pg1-path = /datalab/data
pg2-path = /datalab/data

repo1-path = /var/lib/pgbackrest/others

pgbackrest stanza-create --stanza datalab did work OK -> created structures only in the /var/lib/pgbackrest/others directory.
pgbackrest backup --stanza= datalab --type=incr worked OK -> backup plus archives written as expected
pg_switch_wal() from the database worked OK -> archive arrives on expected location
pgbackrest info --output json | jq '.[].name' NOT OK -> no mention of datalab

when explicitly mentioning the stanza there is output. I was hoping that pgbackuprest info would report on all defined stanzas.
pgbackrest info --stanza datalab --output json|jq '.[].name'
"datalab"

Question: did I hit a bug or a feature?
I was hoping that the info command would also report the backup data of the databases writing to the others path.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions