1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-07-13 06:50:16 +02:00

Merge pull request #515 from postgrespro/PBCKP-170

PBCKP-170
This commit is contained in:
dlepikhova
2022-08-04 20:56:34 +05:00
committed by GitHub
6 changed files with 415 additions and 15 deletions

View File

@ -947,7 +947,7 @@ class ProbackupTest(object):
backup_type='full', datname=False, options=[],
asynchronous=False, gdb=False,
old_binary=False, return_id=True, no_remote=False,
env=None
env=None, startTime=None
):
if not node and not data_dir:
print('You must provide ether node or data_dir for backup')
@ -980,6 +980,9 @@ class ProbackupTest(object):
if not old_binary:
cmd_list += ['--no-sync']
if startTime:
cmd_list += ['--start-time', startTime]
return self.run_pb(cmd_list + options, asynchronous, gdb, old_binary, return_id, env=env)
def checkdb_node(