A base backup is not proven usable merely because it was created successfully. pg_verifybackup verifies the backup’s checksums as part of a recovery fire drill, exposing corruption before an emergency. section 9.4
Use it within a complete backup test:
- Copy the base backup into a test PGDATA directory. section 9.4
- Run pg_verifybackup to check the base backup’s checksums. section 9.4
- Copy subsequent WAL files, inspect them with pg_waldump, and start PostgreSQL to confirm consistent recovery. section 9.4
Do not treat checksum verification as a complete restore test. For stronger assurance, read restored relation pages with pageinspect and automate the procedure with error alerts. section 9.4
