We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent1f7343d commit6b15b7bCopy full SHA for 6b15b7b
testgres/plugins/pg_probackup2/pg_probackup2/app.py
@@ -762,5 +762,16 @@ def archive_push(self, instance, node, wal_file_name, wal_file_path=None, option
762
cmd=cmd+ ['--wal-file-path={0}'.format(wal_file_path)]
763
returnself.run(cmd+options,expect_error=expect_error)
764
765
+defarchive_get(self,instance,wal_file_name,wal_file_path,options=None,expect_error=False):
766
+ifoptionsisNone:
767
+options= []
768
+cmd= [
769
+'archive-get',
770
+'--instance={0}'.format(instance),
771
+'--wal-file-name={0}'.format(wal_file_name),
772
+'--wal-file-path={0}'.format(wal_file_path),
773
+ ]
774
+returnself.run(cmd+options,expect_error=expect_error)
775
+
776
defbuild_backup_dir(self,backup='backup'):
777
returnfs_backup_class(rel_path=self.rel_path,backup=backup)