Like all good backup management suites, pgBackRest is also well equipped to restore data from its backup repository. We can either restore the latest backup for a specific stanza or choose one of the specific backups in the inventory. There are also settings we can use to restore to a different directory than where the data originated.
It's also important to understand that pgBackRest is a pull-based system. This means only the repository itself may be considered remote. Hence, if we want to build a new PostgreSQL clone system, we have to install pgBackRest and configure it to request files from the backup server. This is a stark contrast to Barman, which assumes all commands are initiated from the backup server itself.
This recipe will explore pgBackRest's recovery aptitude and the steps necessary to start a PostgreSQL server restored...