Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1558545

Summary: additional files to grab during backup
Product: Red Hat Satellite Reporter: Chris Duryee <cduryee>
Component: Backup & RestoreAssignee: Christine Fouant <cfouant>
Status: CLOSED ERRATA QA Contact: Ranjan Kumar <rankumar>
Severity: medium Docs Contact:
Priority: high    
Version: 6.3.0CC: bkearney, pcreech, rankumar, spetrosi, sthirugn
Target Milestone: UnspecifiedKeywords: PrioBumpField, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1572296 (view as bug list) Environment:
Last Closed: 2018-06-19 20:17:00 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: 1590754    

Description Chris Duryee 2018-03-20 13:01:57 UTC
Description of problem:

As part of backup/restore, the following files should be pulled in:

/etc/crane.conf                                                       
/etc/default/pulp_workers                                             
/etc/mongod.conf                                                      
/etc/pki/ca-trust/                                                    
/etc/systemd/system/postgresql.service                                
/usr/local/bin/validate_postgresql_connection.sh                      
/usr/share/foreman-proxy/.ssh/                                        
/usr/share/ruby/vendor_ruby/puppet/reports/foreman.rb                 
/etc/sudoers.d/foreman-proxy                                          
/etc/sysconfig/foreman                                                
/usr/share/foreman/bundler.d/katello.rb                               
/etc/smart_proxy_dynflow_core/settings.yml                            
/etc/selinux/targeted/contexts/files/file_contexts.subs

After restore, you may need to do a "systemctl daemon-reload" to pick up the new postgresql.conf.


These files should also be in there:

    /var/lib/foreman # has files that get timestamps updated by installer
    /var/lib/puppet
    /var/lib/qpidd

Version-Release number of selected component (if applicable): 6.3.0

Comment 3 Brad Buckingham 2018-04-17 01:08:11 UTC
Moving to POST, since the upstream PR has been merged.

Comment 6 Ranjan Kumar 2018-06-12 09:06:51 UTC
Verified on satellite  6.3.2 Snap 2.0

All mentioned files are backed up and restored successfully

Comment 7 Chris Duryee 2018-06-12 21:03:19 UTC
*** Bug 1585755 has been marked as a duplicate of this bug. ***

Comment 9 errata-xmlrpc 2018-06-19 20:17:00 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/RHBA-2018:1950