February 2020
Intermediate to advanced
734 pages
38h 13m
English
It should be no surprise that we begin the recipe by creating a backup of our main PostgreSQL instance. What may not be so obvious is that we could have dispensed with the unnecessary extra options such as --type=full. While normally this will force a full backup rather than an incremental one, pgBackRest requires the first backup to be a full backup anyway. As such, we could have used this command instead:
pgbackrest --stanza=main backup
The reality is that pgBackRest commands are not as verbose as they first appear. We're simply being thorough and explicit, which isn't always required. Either way, we can verify the backup exists and has completed successfully by checking the backup inventory using the info command. We should ...
Read now
Unlock full access