Hi,
I have taken a snapshot of my data volume from a server that’s in use. The snapshot is then transferred to S3. During a new deployment of a fresh server, I download the data and populate mongodb dbPath.
Now when the replicaset loads on the new server, it contains a reference to the old server where the backup was taken. And running rs.conf() shows the server where the backup was taken. This is probably because of the existing journal files and diagnostic data from the snapshot volume. I can see logs like this:
Is there any way I can set up a fresh, new replica set from existing mongo snapshot?