Bug 1495192 - [PRD][RFE] Backup & Restore
Summary: [PRD][RFE] Backup & Restore
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: MVP
: 5.9.0
Assignee: Nick Carboni
QA Contact: luke couzens
URL:
Whiteboard:
Depends On:
Blocks: 1490929
TreeView+ depends on / blocked
 
Reported: 2017-09-25 12:45 UTC by John Hardy
Modified: 2021-03-17 16:36 UTC (History)
9 users (show)

Fixed In Version: 5.9.0.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-01 13:18:06 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 0 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 18:37:12 UTC

Description John Hardy 2017-09-25 12:45:07 UTC
[PRD][RFE] Backup & Restore

https://bugzilla.redhat.com/show_bug.cgi?id=1459652

Comment 2 Dave Johnson 2017-10-06 02:20:42 UTC
Proposing blocker flag for MVP marked (in target_milestone) feature

Comment 5 CFME Bot 2017-10-25 15:52:18 UTC
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(-)

Comment 6 CFME Bot 2017-10-25 15:52:25 UTC
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(-)

Comment 7 luke couzens 2017-11-03 14:17:17 UTC
Verified in 5.9.0.5

Comment 10 errata-xmlrpc 2018-03-01 13:18:06 UTC
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

Comment 11 CFME Bot 2021-03-17 16:36:13 UTC
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(-)


Note You need to log in before you can comment on or make changes to this bug.