Backup

Stanza

Also called: pgBackRest stanza

A stanza is pgBackRest's configuration unit for a single PostgreSQL cluster, it ties together that cluster's data directory, its repository location, and its backup/archive settings under one name. You initialize it once with stanza-create and then reference it on every command via --stanza.

What this means

pgBackRest's word for the configuration bundle describing one Postgres cluster, tying its data directory, its repository location, and its backup settings together under a single name. You set it up once with stanza-create, then just point every command at that name.

Why it matters operationally

The stanza is how pgBackRest keeps multiple clusters' backups cleanly separated in one (or shared) repository. Every backup, restore, and archive command is scoped to a stanza, so getting the stanza right is the foundation of a correct backup setup.

Related & next

pgBackRest backups and PITR explainedpgBackRest, the tool it configuresWAL, what the stanza archives

Mentioned from

← All glossary terms · GUC reference · Error catalog