Unable to drop local database after restoring from snapshot backup

Hi ,

I have started mongod, with volume created from snapshot backup from another instance.

I am trying to drop the local database using the root role enabled user. but it throws an error. Shared logs below

I would like to drop the old replication and set up replication with new members(primary+ 2 secondaries)

Any help is highly appreciated. THanks.

Hi @madhuri_yeruva

You have to start mongod without replicaSet option to be able to drop the local database.

This is covered in Restore a Replica Set from MongoDB Backups


Thanks, i’m able to drop the local database now.
I disabled security , keyfile under security, and replication params to be able to do also.

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.