add --compression-level option as charm config, to populate in backup scripts
Bug #1966097 reported by
Garrett Neugent
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PostgreSQL Charm |
Fix Released
|
Undecided
|
Robert Gildein |
Bug Description
Currently, when performing backups [0], pg_backup_job does not expose, nor configure a compression-level flag, which is present in the pgbackup script, and currently defaults to none [1]. It would be nice if this were charm-configurable, so operators can adjust this as needed to save disk space. Thanks for your time!
[0] https:/
[1] https:/
Related branches
~rgildein/postgresql-charm:bug1966097
- Tom Haddon: Approve
- Alvaro Uria (community): Needs Fixing
- Canonical IS Reviewers: Pending requested
-
Diff: 192 lines (+93/-8)6 files modifiedconfig.yaml (+4/-0)
reactive/postgresql/helpers.py (+5/-0)
reactive/postgresql/service.py (+6/-1)
scripts/pgbackup.py (+4/-6)
templates/pg_backup_job.tmpl (+2/-1)
unit_tests/test_service.py (+72/-0)
tags: | added: doc-175 |
Changed in postgresql-charm: | |
status: | New → In Progress |
assignee: | nobody → Robert Gildein (rgildein) |
Changed in postgresql-charm: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
MP: https:/ /code.launchpad .net/~rgildein/ postgresql- charm/+ git/postgresql- charm/+ merge/419213