You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-09-02 12:41:14 +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
@@ -2349,6 +2349,9 @@ sub backupTestRun
|
||||
{
|
||||
$strFullBackup = $strStandbyBackup;
|
||||
}
|
||||
|
||||
# Confirm the check command runs without error on a standby
|
||||
$oHostDbStandby->check('verify check command on standby');
|
||||
}
|
||||
|
||||
# Execute stop and make sure the backup fails
|
||||
|
Reference in New Issue
Block a user