testgres-pg-probackup2 0.0.6__tar.gz → 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/PKG-INFO +1 -1
- {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/pg_probackup2/app.py +17 -0
- {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/setup.py +1 -1
- {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/testgres_pg_probackup2.egg-info/PKG-INFO +1 -1
- {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/README.md +0 -0
- {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/pg_probackup2/__init__.py +0 -0
- {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/pg_probackup2/gdb.py +0 -0
- {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/pg_probackup2/init_helpers.py +0 -0
- {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/pg_probackup2/storage/__init__.py +0 -0
- {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/pg_probackup2/storage/fs_backup.py +0 -0
- {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/setup.cfg +0 -0
- {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/testgres_pg_probackup2.egg-info/SOURCES.txt +0 -0
- {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/testgres_pg_probackup2.egg-info/dependency_links.txt +0 -0
- {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/testgres_pg_probackup2.egg-info/requires.txt +0 -0
- {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/testgres_pg_probackup2.egg-info/top_level.txt +0 -0
|
@@ -842,5 +842,22 @@ class ProbackupApp:
|
|
|
842
842
|
]
|
|
843
843
|
return self.run(cmd + options, expect_error=expect_error)
|
|
844
844
|
|
|
845
|
+
def maintain(
|
|
846
|
+
self, instance=None, backup_id=None,
|
|
847
|
+
options=None, old_binary=False, gdb=False, expect_error=False
|
|
848
|
+
):
|
|
849
|
+
if options is None:
|
|
850
|
+
options = []
|
|
851
|
+
cmd_list = [
|
|
852
|
+
'maintain',
|
|
853
|
+
]
|
|
854
|
+
if instance:
|
|
855
|
+
cmd_list += ['--instance={0}'.format(instance)]
|
|
856
|
+
if backup_id:
|
|
857
|
+
cmd_list += ['-i', backup_id]
|
|
858
|
+
|
|
859
|
+
return self.run(cmd_list + options, old_binary=old_binary, gdb=gdb,
|
|
860
|
+
expect_error=expect_error)
|
|
861
|
+
|
|
845
862
|
def build_backup_dir(self, backup='backup'):
|
|
846
863
|
return fs_backup_class(rel_path=self.rel_path, backup=backup)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/pg_probackup2/storage/__init__.py
RENAMED
|
File without changes
|
{testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/pg_probackup2/storage/fs_backup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|