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.
Files changed (15) hide show
  1. {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/PKG-INFO +1 -1
  2. {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/pg_probackup2/app.py +17 -0
  3. {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/setup.py +1 -1
  4. {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/testgres_pg_probackup2.egg-info/PKG-INFO +1 -1
  5. {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/README.md +0 -0
  6. {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/pg_probackup2/__init__.py +0 -0
  7. {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/pg_probackup2/gdb.py +0 -0
  8. {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/pg_probackup2/init_helpers.py +0 -0
  9. {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/pg_probackup2/storage/__init__.py +0 -0
  10. {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/pg_probackup2/storage/fs_backup.py +0 -0
  11. {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/setup.cfg +0 -0
  12. {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/testgres_pg_probackup2.egg-info/SOURCES.txt +0 -0
  13. {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/testgres_pg_probackup2.egg-info/dependency_links.txt +0 -0
  14. {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/testgres_pg_probackup2.egg-info/requires.txt +0 -0
  15. {testgres_pg_probackup2-0.0.6 → testgres_pg_probackup2-0.1.0}/testgres_pg_probackup2.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testgres_pg_probackup2
3
- Version: 0.0.6
3
+ Version: 0.1.0
4
4
  Summary: Plugin for testgres that manages pg_probackup2
5
5
  Home-page: https://github.com/postgrespro/testgres
6
6
  Author: Postgres Professional
@@ -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)
@@ -4,7 +4,7 @@ except ImportError:
4
4
  from distutils.core import setup
5
5
 
6
6
  setup(
7
- version='0.0.6',
7
+ version='0.1.0',
8
8
  name='testgres_pg_probackup2',
9
9
  packages=['pg_probackup2', 'pg_probackup2.storage'],
10
10
  description='Plugin for testgres that manages pg_probackup2',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testgres_pg_probackup2
3
- Version: 0.0.6
3
+ Version: 0.1.0
4
4
  Summary: Plugin for testgres that manages pg_probackup2
5
5
  Home-page: https://github.com/postgrespro/testgres
6
6
  Author: Postgres Professional