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