-
Notifications
You must be signed in to change notification settings - Fork 157
Description
Proposal
I came across the restore into a new cluster feature of the PBM here: https://docs.percona.com/percona-backup-mongodb/features/restore-new-env.html
However the same feature is not present in the docs for the Mongo operator
https://docs.percona.com/percona-operator-for-mongodb/
I found out you can force a resync with the backend storage with pbm config --force-resync
on the PBM agent running in the cluster. However after trying to restore with pbm restore
my cluster was quite unstable with many mongos
and cfg
and rs
pods being unavailable. My cluster was heavily provisioned but still faced the issue. I tired this with a logical backup.
An idea could be:
kind: PerconaServerMongoDBRestore
apiVersion: psmdb.percona.com/v1
metadata:
name: manual-restore-operation
spec:
clusterName: mongo-cluster
backupName: backup-from-another-cluster
backupSource: external
with backupSource
indicating that the backup is not in the perconaservermongodbbackup
list but forcing a resync with storage backend.
I this is a use case already covered by any other method, please refer me to it (maybe physical backups and restores)
Thanks
Use-Case
No response
Is this a feature you are interested in implementing yourself?
Maybe
Anything else?
No response