April 18, 2023

Postgres pg_verifybackup tool

pg_verifybackup tool in PostgreSQL


pg_verifybackup verifies a backup against the backup manifest. New backup verification tool was introduced in Postgres 13.

pg_verifybackup --help

Usage:
  pg_verifybackup [OPTION]... BACKUPDIR

Options:
  -e, --exit-on-error          exit immediately on error
  -i, --ignore=RELATIVE_PATH  ignore indicated path
  -m, --manifest-path=PATH    use specified path for manifest
  -n, --no-parse-wal          do not try to parse WAL files
  -q, --quiet                  do not print any output, except for errors
  -s, --skip-checksums        skip checksum verification
  -w, --wal-directory=PATH    use specified path for WAL files
  -V, --version                output version information, then exit
  -?, --help                  show this help, then exit

pg_verifybackup --version
pg_verifybackup c:\pgbackup
pg_verifybackup /backup/postgres
pg_verifybackup /backup/postgres --no-parse-wal --quiet
pg_verifybackup /backup/postgres --skip-checksums -q


Related Postgres Articles:  PostgreSQL pg_basebackup utility

No comments:

Post a Comment