Allow PBM to use a remote file server as backup location.

Description

The PBM Tool for on-premises installations supports the following storage types:

 

On the other hand, when comparing with our Operator for PSMDB, only the following ones are available:

 

Supporting a remote file server mounted to a local directory would allow customers and users who do not use S3-like storage to implement our Operator in their environment without the need to change or adopt a new storage service.

Environment

None

AFFECTED CS IDs

CS0047176

Activity

daniel.almeida 
April 30, 2025 at 4:32 PM

I see this issue has been marked as done. One of our customers would like to know the current status of this issue as far as which upcoming version it will be included and the tentative release date. Thank you.

cc

Julio Pasinatto 
January 2, 2025 at 4:00 PM

Verified by demand-backup-fsautomated test.

ege.gunes 
November 11, 2024 at 11:50 AM
(edited)

This functionality was added.

To configure remote file server as backup storage, user needs to do the following:

  1. Remote storage needs to be mounted to replset. In case of sharded clusters, it needs to be added for each replset and config server replset:

  2. Storage needs to be mounted to backup-agent container by adding it to spec.backup.volumeMounts:

  3. Storage needs to be configured in PBM:

User needs to verify that all backup-agent containers have the required volume mount and sees the same directory:

The branch for tests is:

ege.gunes 
July 25, 2024 at 10:41 AM

We can allow users to mount a PVC into backup-agent containers so PBM can put the backup there. In this scenario, user is responsible to create the PVC and ensure it's properly configured with NFS. See PBM docs for more information.

Unfortunately, we can't have backups to separate PVCs like we do in K8SPXC because it would require mounting a new ReadWriteMany PVC to backup-agent containers and effectively restarting all mongod processes every time user runs a backup.

Done

Details

Assignee

Reporter

Needs QA

Needs Doc

Story Points

Sprint

Fix versions

Priority

Created June 19, 2024 at 12:34 AM
Updated April 30, 2025 at 4:32 PM
Resolved January 17, 2025 at 4:21 PM