I have a replica set running, and I want to move to a sharded cluster. I know I can create a sharded cluster from a replica set but it’s not the requirements I’m given for now.
So I’m wondering if PBM provides a way to restore the backup made on a replica set into a newly created sharded cluster?
After creating a backup and configuring PBM to use my storage, waiting for the sync, the snapshots in pbm status
show : incompatible: Backup doesn't match current cluster topology - it has different replica set names. Extra shards in the backup will cause this, for a simple example. The extra/unknown replica set names found in the backup are: REDACTED. Backup has no data for the config server or sole replicaset
.
I’m wondering if there’s however a way to restore this backup to a sharded cluster ? Remap pattern doesn’t seem to work but maybe I did not find the correct way to use it for that case?