Bug 1710916

Summary: satellite backup should save /var/lib/pgsql/data/postgresql.conf
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: Backup & RestoreAssignee: John Mitsch <jomitsch>
Status: CLOSED ERRATA QA Contact: Lucie Vrtelova <lvrtelov>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4.2CC: inecas, jhutar, lvrtelov, mbacovsk, pcreech, zhunting
Target Milestone: 6.6.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-foreman_maintain-0.4.3,rubygem-foreman_maintain-0.3.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1726839 (view as bug list) Environment:
Last Closed: 2019-10-22 19:49:14 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:

Description sthirugn@redhat.com 2019-05-16 14:43:03 UTC
Description of problem:
satellite backup should restore /var/lib/pgsql/data/postgresql.conf

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

How reproducible:
Always

Steps to Reproduce:
1.Create satellite-backup.
2.Check for the presence of postgresql.conf in the config_files.tar.gz:
# tar zxf /backup/config_files.tar.gz var/lib/pgsql/data/postgresql.conf --to-stdout | cat
tar: var/lib/pgsql/data/postgresql.conf: Not found in archive

Actual results:
postgresql.conf not found

Expected results:
postgresql.conf should be saved in the backup.  Since many old customers directly edited this configuration in the past since custom-hiera.yml support was not there, it is essential to save this in backup for a complete restore later.

Additional info:

Comment 3 John Mitsch 2019-05-24 18:52:35 UTC
Created redmine issue https://projects.theforeman.org/issues/26872 from this bug

Comment 4 Bryan Kearney 2019-05-24 20:01:23 UTC
Upstream bug assigned to jomitsch

Comment 5 Bryan Kearney 2019-05-24 20:01:25 UTC
Upstream bug assigned to jomitsch

Comment 6 Bryan Kearney 2019-05-28 18:01:20 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26872 has been resolved.

Comment 18 Bryan Kearney 2019-10-22 19:49:14 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-2019:3172