mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Add option --verify-backup
This causes pg_verifybackup to be executed immediately after pg_basebackup completes. PostreSQL 13 and later.
This commit is contained in:
@@ -433,6 +433,10 @@ main(int argc, char **argv)
|
||||
runtime_options.replication_conf_only = true;
|
||||
break;
|
||||
|
||||
/* --verify-backup */
|
||||
case OPT_VERIFY_BACKUP:
|
||||
runtime_options.verify_backup = true;
|
||||
break;
|
||||
|
||||
/*---------------------------
|
||||
* "standby register" options
|
||||
|
||||
Reference in New Issue
Block a user