You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-08-17 09:41:03 +03:00
Improved check command to run on a standby.
Only basic checks are done because pg_switch_xlog() cannot be executed on a replica. Contributed by Cynthia Shang.
This commit is contained in:
committed by
David Steele
parent
974a02dbe4
commit
56144c99c0
@@ -983,7 +983,8 @@ my $oConfigHelpData =
|
||||
"The check command validates that pgBackRest and the archive_command setting are configured correctly for " .
|
||||
"archiving and backups. It detects misconfigurations, particularly in archiving, that result in incomplete " .
|
||||
"backups because required WAL segments did not reach the archive. The command can be run on the database or " .
|
||||
"the backup host.\n" .
|
||||
"the backup host. The command may also be run on the standby host, however, since pg_switch_xlog() cannot " .
|
||||
"be performed on the standby, the command will only test the repository configuration.\n" .
|
||||
"\n" .
|
||||
"Note that pg_create_restore_point('pgBackRest Archive Check') and pg_switch_xlog() are called to force " .
|
||||
"PostgreSQL to archive a WAL segment. Restore points are only supported in PostgreSQL >= 9.1 so for older " .
|
||||
|
Reference in New Issue
Block a user