Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ for MongoDB Administrator's Guide
  3. Restoring or recovering MongoDB data using NetBackup
  4. Restoring MongoDB data in a high availability setup to an alternate client
NetBackup™ for MongoDB Administrator's Guide

Restoring MongoDB data in a high availability setup to an alternate client

If a client (MongoDBnode-port) that is defined in the backup policy is not available use the following procedure to restore to a different client in the same MongoDB cluster (MongoDBnode-port).

In a high availability setup, you can restore the MongoDB data as follows:

  • Sharded MongoDB cluster

    Restore to an alternate config server in the same MongoDB cluster.

  • Replica set MongoDB cluster

    Restore to an alternate node of the replica set that is in the same MongoDB cluster.

To restore MongoDB data in a high availability setup to an alternate client

  1. Open the web UI.
  2. On the left, click Recovery. On the Regular recovery card, click Start recovery.
  3. Rename the application server and its nodes and set the value for the alternate application server.
    • Select Restore individual directories and files to different locations and click Edit file paths to add the alternate application servers.

    • If the application_server (Host1-port1) is different from the target application_server (Host2:Port2), the rename entry must contain ALT_APPLICATION_SERVER=Host2:Port2.

      In the following example, the Source client that is defined in the backup policy is endu79-26050, and the backup was performed by the MongoDB node endu79-26055. In this scenario, as part of restore and recovery, append endu79:26055 as follows:ALT_APPLICATION_SERVER=endu79:26055.

Feedback

Was this page helpful?
Previous

Restore the MongoDB data on an alternate cluster

Next

Manual steps after the recovery process

Feedback

Was this page helpful?