Solved

Getting "error decrypting password" when running MongoDB Standalone Restore

  • 21 November 2022
  • 5 replies
  • 46 views

Badge +3

Hello guys,

I’m trying to run a restore from a Mongo Standalone backup, but I’m stuck in this error. Could you please help me?

Tks!

 

 

icon

Best answer by Albert Williams 22 November 2022, 23:19

View original

5 replies

Userlevel 1
Badge +3

Hello Rai,
That error message is seen in our logs a lot and it is not necessary the reason the job has failed. 

We have a step to attempt to decrypt data and we will get that error message if the data is not encrypted but move forward with the restore. 

The following are all the steps and methods to perform the Mongo DB restore: 

https://documentation.commvault.com/2022e/essential/124827_restores_for_mongodb.html

If you could go over all the prerequisite and validate all is covered. If you still are hitting an issue with the restore a deeper dive in the logs may be best investigated under a support ticket or if you can provide further log lines here later on in the jobs life. 

 

Always happy to help!

Badge +3

Hello @Albert Williams,

Ok, I’m using this doc to restore the MongoDB Standalone. 

https://documentation.commvault.com/2022e/essential/130810_restoring_data_only_to_mongodb_cluster.html

For Standalone restore, is the right doc?

Userlevel 1
Badge +3

Hello Rai,

 

Our systems assume a clusters MongoDB environment and our documentation is all written with clusters in mind. On our system requirements page you will find the following note to allow a single node environment to work : 

https://documentation.commvault.com/2022e/essential/99537_system_requirements_for_mongodb.html

Note: If you have a single node replica set that has only a primary node, add the bMongoDBEnableBkpForSingleNodeRepSet additional setting to the client node that you want to back up.

 

Due to this we have have any documentation that is specific to non-cluster so my recommendation is to move through the following steps: 

https://documentation.commvault.com/2022e/expert/99649_mongodb_restore_operations.html

 

If you hit any errors or issues, or if the GUI does not allow you to progress due to information about a replica node needed then I recommend raising a support case to review. 

 

Sorry i cannot give you a direct answer but this is the best way forward. 

Badge +3

Hi @Albert Williams, tks for the reply.

Could you please tell me how to add bMongoDBEnableBkpForSingleNodeRepSet?

Tks!

Userlevel 1
Badge +3

Hello @Raí Garcia 

 

The following goes over the steps for the additional setting and to how add them: 

https://documentation.commvault.com/2022e/expert/8681_adding_additional_setting_from_commcell_console.html

 

Always happy to help!

Reply