Bug 1652516 - Foreman Maintain backups up the entire /var/www/html/pub directory during "Collecting Config files"
Summary: Foreman Maintain backups up the entire /var/www/html/pub directory during "Co...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Anurag Patel
QA Contact: Nikhil Kathole
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-22 09:32 UTC by Ade Bradshaw
Modified: 2020-10-03 21:42 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-02 12:33:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 25535 0 Normal Closed Foreman Maintain backups up the entire /var/www/html/pub directory during "Collecting Config files" 2021-02-02 22:40:55 UTC

Description Ade Bradshaw 2018-11-22 09:32:46 UTC
Description of problem:
Foreman Maintain backups up the entire /var/www/html/pub directory during "Collecting Config files"

If the customer has placed other things in this pub directory - they are also backed up. I noticed this when the script had been stick on "Collecting Config files" for over 15 mins and the config_files.tar.gz was at 26G

Version-Release number of selected component (if applicable):
rubygem-foreman_maintain-0.2.11

How reproducible:
100%

Steps to Reproduce:
1. Place some large files in /var/www/hml/pub
2. run foreman-maintain backup
3. observe the entire contents of pub dir get added to the zip file

Actual results:
a config_files.tar.gz that is 30G in size


Expected results:
a config_files.tar.gz that is less than 300M

Additional info:

Comment 1 Evgeni Golov 2018-11-22 09:43:04 UTC
Created redmine issue https://projects.theforeman.org/issues/25535 from this bug

Comment 5 Bryan Kearney 2020-03-04 14:08:24 UTC
The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Red Hat Technical Support or your account team. If we do not hear from you, we will close this bug out. Thank you.

Comment 6 Bryan Kearney 2020-04-02 12:33:24 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.

Comment 7 Anurag Patel 2020-10-03 21:42:39 UTC
A fix for this bug has been merged upstream: https://github.com/theforeman/foreman_maintain/pull/353


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