snippetbashTip
pg_verifybackup — Verify the integrity of a base backup of a PostgreSQL cluster. More information: <https://www.postgr
Viewed 0 times
thebackupcommandintegrityclipg_verifybackupbaseverify
Problem
How to use the
pg_verifybackup command: Verify the integrity of a base backup of a PostgreSQL cluster. More information: <https://www.postgresql.org/docs/current/app-pgverifybackup.html>.Solution
pg_verifybackup — Verify the integrity of a base backup of a PostgreSQL cluster. More information: <https://www.postgresql.org/docs/current/app-pgverifybackup.html>.Verify a backup stored in a specific directory:
pg_verifybackup {{path/to/backup}}Verify a backup showing progress information:
pg_verifybackup {{[-P|--progress]}} {{path/to/backup}}Verify a backup and exit immediately on first error:
pg_verifybackup {{[-e|--exit-on-error]}} {{path/to/backup}}Verify a backup ignoring specific files or directories:
pg_verifybackup {{[-i|--ignore]}} {{path/to/file_or_directory}} {{path/to/backup}}Verify a backup with a manifest file in a different location:
pg_verifybackup {{[-m|--manifest-path]}} {{path/to/backup_manifest}} {{path/to/backup}}Display help:
pg_verifybackup {{[-?|--help]}}Code Snippets
Verify a backup stored in a specific directory
pg_verifybackup {{path/to/backup}}Verify a backup showing progress information
pg_verifybackup {{[-P|--progress]}} {{path/to/backup}}Verify a backup and exit immediately on first error
pg_verifybackup {{[-e|--exit-on-error]}} {{path/to/backup}}Verify a backup ignoring specific files or directories
pg_verifybackup {{[-i|--ignore]}} {{path/to/file_or_directory}} {{path/to/backup}}Verify a backup with a manifest file in a different location
pg_verifybackup {{[-m|--manifest-path]}} {{path/to/backup_manifest}} {{path/to/backup}}Context
tldr-pages: common/pg_verifybackup
Revisions (0)
No revisions yet.