Merge lp:~barryprice/charms/trusty/postgresql/more_frequent_backups into lp:charms/trusty/postgresql
Proposed by
Barry Price
Status: | Merged |
---|---|
Merged at revision: | 143 |
Proposed branch: | lp:~barryprice/charms/trusty/postgresql/more_frequent_backups |
Merge into: | lp:charms/trusty/postgresql |
Diff against target: |
154 lines (+27/-19) 6 files modified
config.yaml (+2/-2) hooks/postgresql.py (+1/-0) scripts/pgbackup.py (+4/-5) templates/pg_backup_job.tmpl (+17/-9) templates/postgres.cron.tmpl (+2/-2) tests/test_postgresql.py (+1/-1) |
To merge this branch: | bzr merge lp:~barryprice/charms/trusty/postgresql/more_frequent_backups |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Review Queue (community) | automated testing | Approve | |
Stuart Bishop (community) | Approve | ||
Review via email: mp+283245@code.launchpad.net |
To post a comment you must log in.
As stub points out, there will usually be at least two backup files per run, potentially more (basically, $number_ of_databases +1 for globals).
So the pruning of old backups needs some work here, I'm setting this to WIP for now.