Bug 1558467

Summary: [RFE] backup operates with the local Mongo even when Pulp uses remote DB
Product: Red Hat Satellite Reporter: Martin Bacovsky <mbacovsk>
Component: Satellite MaintainAssignee: Martin Bacovsky <mbacovsk>
Status: CLOSED WONTFIX QA Contact: Nikhil Kathole <nkathole>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: apatel, inecas, kgaikwad
Target Milestone: UnspecifiedKeywords: FutureFeature
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: Environment:
Last Closed: 2019-11-04 14:02:45 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: 1555310    

Description Martin Bacovsky 2018-03-20 09:39:52 UTC
Description of problem:
backup command works with internal Mongo DB directly and does not reflect Mongo DB setup when it is on remote server.

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


How reproducible:
Always

Steps to Reproduce:
1. configure Pulp to use remote Mongo DB
2. foreman-maintain backup  
3.

Actual results:
Local mongo DB was backed up

Expected results:
Remote Mongo that is used by our Pulp was backed up

Additional info:
We need to investigate if remote live backup using mongodump [1] is safe and takes reasonable time. Turning Pulp workers off should help but Mongo docs show concerns about performance. More docs [2]. 

As a plan "B" we can provide instructions for remote offline backup. 

Backups using Mongo replicas could be an option too.

[1] https://docs.mongodb.com/v2.6/tutorial/backup-with-mongodump/#backup-from-non-local
[2] https://docs.mongodb.com/v2.6/core/backups/

Comment 3 Bryan Kearney 2019-11-04 14:02:45 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.