This recipe assumes that you have read the previous recipe, Hot physical backups with Barman, and successfully installed Barman on the
malcolm server, backing up the Postgres databases running on
bon. We will use the same nomenclature in the examples of this recipe.
A recovery procedure is a reaction to a failure. In database terms, this could be related to an unintentional human error (for example,
DROP operation of a table), an attack (think of Little Bobby Tables), a hardware failure (for example, a broken hard drive), or—less likely—a natural disaster.
Even though you might be tempted to think that you are immune to disasters or failures (I wish you were), you are advised to perform regular tests and simulations ...