Bug 1495192
| Summary: | [PRD][RFE] Backup & Restore | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | John Hardy <jhardy> |
| Component: | Appliance | Assignee: | Nick Carboni <ncarboni> |
| Status: | CLOSED ERRATA | QA Contact: | luke couzens <lcouzens> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | abellott, dajohnso, gtanzill, jhardy, lavenel, lcouzens, ncarboni, obarenbo, simaishi |
| Target Milestone: | MVP | Keywords: | FutureFeature, RFE |
| Target Release: | 5.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 5.9.0.5 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-03-01 13:18:06 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1490929 | ||
|
Description
John Hardy
2017-09-25 12:45:07 UTC
Proposing blocker flag for MVP marked (in target_milestone) feature New commit detected on ManageIQ/manageiq-gems-pending/master: https://github.com/ManageIQ/manageiq-gems-pending/commit/271febd31a64179c43e206012ddf546dfc375ee2 commit 271febd31a64179c43e206012ddf546dfc375ee2 Author: Nick Carboni <ncarboni> AuthorDate: Mon Oct 23 18:09:13 2017 -0400 Commit: Nick Carboni <ncarboni> CommitDate: Tue Oct 24 16:02:15 2017 -0400 Use pg_basebackup rather than pg_dump for backing up the database This will allow us to backup all databases in the cluster as well as config files. https://bugzilla.redhat.com/show_bug.cgi?id=1495192 lib/gems/pending/util/postgres_admin.rb | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) New commit detected on ManageIQ/manageiq-gems-pending/master: https://github.com/ManageIQ/manageiq-gems-pending/commit/dbb78da63c34a01f4a5be0a4c53fe6f6830a7573 commit dbb78da63c34a01f4a5be0a4c53fe6f6830a7573 Author: Nick Carboni <ncarboni> AuthorDate: Tue Oct 24 16:16:32 2017 -0400 Commit: Nick Carboni <ncarboni> CommitDate: Tue Oct 24 17:31:28 2017 -0400 Choose restore type based on the target file type This commit allows us to support both the new, pg_basebackup method of backup as well as the old pg_dump method. The pg_basebackup output is just a tgz file of the contents of the data directory, so restore is just replacing the current data directory with the data in the archive. https://bugzilla.redhat.com/show_bug.cgi?id=1495192 lib/gems/pending/util/postgres_admin.rb | 39 +++++++++++++++++++++++++++++++-- manageiq-gems-pending.gemspec | 1 + 2 files changed, 38 insertions(+), 2 deletions(-) Verified in 5.9.0.5 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0380 New commit detected on ManageIQ/manageiq-appliance_console/master: https://github.com/ManageIQ/manageiq-appliance_console/commit/3708de584c4f6a8b5626129bd916cbf12aae6848 commit 3708de584c4f6a8b5626129bd916cbf12aae6848 Author: Nick Carboni <ncarboni> AuthorDate: Mon Oct 23 22:09:13 2017 +0000 Commit: Nick LaMuro <nicklamuro> CommitDate: Tue Mar 16 19:25:16 2021 +0000 Use pg_basebackup rather than pg_dump for backing up the database This will allow us to backup all databases in the cluster as well as config files. https://bugzilla.redhat.com/show_bug.cgi?id=1495192 (transferred from ManageIQ/manageiq-gems-pending@271febd31a64179c43e206012ddf546dfc375ee2) lib/manageiq/appliance_console/postgres_admin.rb | 19 +- 1 file changed, 9 insertions(+), 10 deletions(-) https://github.com/ManageIQ/manageiq-appliance_console/commit/eaec9a2e24766b6c6d7c4642a28443c243aec47e commit eaec9a2e24766b6c6d7c4642a28443c243aec47e Author: Nick Carboni <ncarboni> AuthorDate: Tue Oct 24 20:16:32 2017 +0000 Commit: Nick LaMuro <nicklamuro> CommitDate: Tue Mar 16 19:25:16 2021 +0000 Choose restore type based on the target file type This commit allows us to support both the new, pg_basebackup method of backup as well as the old pg_dump method. The pg_basebackup output is just a tgz file of the contents of the data directory, so restore is just replacing the current data directory with the data in the archive. https://bugzilla.redhat.com/show_bug.cgi?id=1495192 (transferred from ManageIQ/manageiq-gems-pending@dbb78da63c34a01f4a5be0a4c53fe6f6830a7573) lib/manageiq/appliance_console/postgres_admin.rb | 39 +- 1 file changed, 37 insertions(+), 2 deletions(-) |