RefLib

Reference library for AI

Back

postgresql_16:7.2.17.2 Options

PostgreSQL 16 > Reference > PostgreSQL Client Applications > pg_verifybackup > Options

pg_verifybackup accepts the following command-line arguments: -e --exit-on-error Exit as soon as a problem with the backup is detected. If this option is not specified, pg_verifybackup will continue checking the backup even after a problem has been detected, and will report all problems detected as errors. -i *path* --ignore=*path* Ignore the specified file or directory, which should be expressed as a relative path name, when comparing the list of data files actually present in the backup to those listed in the backup_manifest file. If a directory is specified, this option affects the entire subtree rooted at that location. Complaints about extra files, missing files, file size differences, or checksum mismatches will be suppressed if the relative path name matches the specified path name. This option can be specified multiple times. -m *path* --manifest-path=*path* Use the manifest file at the specified path, rather than one located in the root of the backup directory. -n --no-parse-wal Don't attempt to parse write-ahead log data that will be needed to recover from this backup. -P --progress Enable progress reporting. Turning this on will deliver a progress report while verifying checksums. This option cannot be used together with the option --quiet. -q --quiet Don't print anything when a backup is successfully verified. -s --skip-checksums Do not verify data file checksums. The presence or absence of files and the sizes of those files will still be checked. This is much faster, because the files themselves do not need to be read. -w *path* --wal-directory=*path* Try to parse WAL files stored in the specified directory, rather than in pg_wal. This may be useful if the backup is stored in a separate location from the WAL archive.

Other options are also available: -V --version Print the pg_verifybackup version and exit. -? --help Show help about pg_verifybackup command line arguments, and exit.

Back