commands.sh

pg_verifybackup

all

Verify the integrity of a base backup of a PostgreSQL cluster.

More info →

Options (5)

-P, --progressboolean

Verify a backup showing progress information

Example: pg_verifybackup {{[-P|--progress]}} {{path/to/backup}}
-e, --exit-on-errorboolean

Verify a backup and exit immediately on first error

Example: pg_verifybackup {{[-e|--exit-on-error]}} {{path/to/backup}}
-i, --ignoreboolean

Verify a backup ignoring specific files or directories

Example: pg_verifybackup {{[-i|--ignore]}} {{path/to/file_or_directory}} {{path/to/backup}}
-m, --manifest-pathboolean

Verify a backup with a manifest file in a different location

Example: pg_verifybackup {{[-m|--manifest-path]}} {{path/to/backup_manifest}} {{path/to/backup}}
--helpboolean

Display help

Example: pg_verifybackup {{[-?|--help]}}

Examples (6)

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]
made by @shridhargupta | data from tldr-pages