pgBackRest is a well-known powerful backup and restore tool.
While it works with a really simple configuration, a major version upgrade of PostgreSQL has some impact on it.
Immediately after upgrading PostgreSQL to a newer major version, the
for all pgBackRest configurations must be set to the new database location and
stanza-upgrade command must be run.
That command updates the stanza information to reflect the new cluster information and, for example, allows to archiving process to work.