We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95e6ad0 commit 9e2928eCopy full SHA for 9e2928e
testgres/plugins/pg_probackup2/pg_probackup2/init_helpers.py
@@ -172,6 +172,10 @@ def __init__(self):
172
self.ptrack = test_env.get('PG_PROBACKUP_PTRACK', None) == 'ON' and self.pg_config_version >= 110000
173
self.wal_tree_enabled = test_env.get('PG_PROBACKUP_WAL_TREE_ENABLED', None) == 'ON'
174
175
+ self.bckp_source = test_env.get('PG_PROBACKUP_SOURCE', 'pro').lower()
176
+ if self.bckp_source not in ('base', 'direct', 'pro'):
177
+ raise Exception("Wrong PG_PROBACKUP_SOURCE value. Available options: base|direct|pro")
178
+
179
self.paranoia = test_env.get('PG_PROBACKUP_PARANOIA', None) == 'ON'
180
env_compress = test_env.get('ARCHIVE_COMPRESSION', None)
181
if env_compress:
0 commit comments