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 parent95e6ad0 commit6b95083Copy full SHA for 6b95083
testgres/plugins/pg_probackup2/pg_probackup2/app.py
@@ -811,5 +811,22 @@ def archive_get(self, instance, wal_file_name, wal_file_path, options=None, expe
811
]
812
returnself.run(cmd+options,expect_error=expect_error)
813
814
+defrepair(
815
+self,instance=None,backup_id=None,
816
+options=None,old_binary=False,gdb=False,expect_error=False
817
+ ):
818
+ifoptionsisNone:
819
+options= []
820
+cmd_list= [
821
+'repair',
822
+ ]
823
+ifinstance:
824
+cmd_list+= ['--instance={0}'.format(instance)]
825
+ifbackup_id:
826
+cmd_list+= ['-i',backup_id]
827
+
828
+returnself.run(cmd_list+options,old_binary=old_binary,gdb=gdb,
829
+expect_error=expect_error)
830
831
defbuild_backup_dir(self,backup='backup'):
832
returnfs_backup_class(rel_path=self.rel_path,backup=backup)