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 parentac782bb commitdaa2b7bCopy full SHA for daa2b7b
testgres/plugins/pg_probackup2/pg_probackup2/app.py
@@ -842,5 +842,22 @@ def archive_get(self, instance, wal_file_name, wal_file_path, options=None, expe
842
]
843
returnself.run(cmd+options,expect_error=expect_error)
844
845
+defmaintain(
846
+self,instance=None,backup_id=None,
847
+options=None,old_binary=False,gdb=False,expect_error=False
848
+ ):
849
+ifoptionsisNone:
850
+options= []
851
+cmd_list= [
852
+'maintain',
853
+ ]
854
+ifinstance:
855
+cmd_list+= ['--instance={0}'.format(instance)]
856
+ifbackup_id:
857
+cmd_list+= ['-i',backup_id]
858
+
859
+returnself.run(cmd_list+options,old_binary=old_binary,gdb=gdb,
860
+expect_error=expect_error)
861
862
defbuild_backup_dir(self,backup='backup'):
863
returnfs_backup_class(rel_path=self.rel_path,backup=backup)