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. Overview of protecting MongoDB using NetBackup
  4. About protecting a sharded, replica set, or standalone MongoDB cluster using NetBackup
NetBackup™ for MongoDB Administrator's Guide

About protecting a sharded, replica set, or standalone MongoDB cluster using NetBackup

NetBackup supports the protection of the following MongoDB configurations:

  • Sharded MongoDB cluster

  • Replica set MongoDB cluster

  • Standalone MongoDB cluster without replica sets

Protecting a sharded, replica set, or standalone MongoDB cluster using NetBackup

Use the NetBackup for MongoDB plug-in to protect your sharded (MongoDB cluster with configuration server and shards), replica set, or standalone MongoDB cluster using the following high-level steps:

Table: Protecting a sharded, replica set, or standalone MongoDB cluster using NetBackup

Step overview

Details

Use NetBackup to protect MongoDB.

On a very high level, to protect MongoDB you need:

  • NetBackup primary server

  • NetBackup media server

  • A backup host (NetBackup media server or a NetBackup client)

Refer to the NetBackup compatibility lists for the supported primary and media server configurations. The backup host (NetBackup media server or a NetBackup client) is supported only on an RHEL or a SUSE host.

NetBackup appliance including Flex appliance is also supported as a NetBackup primary, a media server, or as a client that can act as a backup host.

Refer to the following topics to get a protection overview and the best practices:

  • See Protecting MongoDB data using NetBackup.

  • See NetBackup for MongoDB terminologies.

  • See Prerequisites and the best practices for protecting MongoDB.

Verify the pre-requisites for the MongoDB plug-in.

Refer to the following topics before you use the plug-in:

  • See Operating system and platform compatibility.

  • See Prerequisites for configuring the MongoDB plug-in.

Run the MongoDB configuration tool.

Run MongoDB configuration tool to generate the following files automatically:

  • The file for the MongoDB cluster topology credentials.

  • The MongoDB configuration file that configures the global NetBackup parameters for the MongoDB cluster.

You can access the MongoDB configuration tool using the tpconfig command line on the NetBackup primary server. The path to access the tpconfig command is /usr/openv/volmgr/bin/ for UNIX and <install_path>\Volmgr\bin\ for Windows.

For more information, See About the MongoDB configuration tool.

Configure the MongoDB plug-in and the communication between NetBackup and MongoDB.

Note:

If you use the MongoDB configuration tool, some of these configuration steps are not required.

Create a mongodb.conf file to configure backup options in NetBackup:

  • See Prerequisites for manually creating the mongodb.conf file.

  • See Configuring backup options for MongoDB using the mongodb.conf file .

  • See Including the configuration file path in the allowed list on the NetBackup primary server.

    Note:

    If you use the MongoDB configuration tool, these steps are not required.

Get the RSA key of the MongoDB node for adding MongoDB credentials to NetBackup:

  • See Obtaining the RSA key of the MongoDB nodes.

    Note:

    If you use the MongoDB configuration tool, these steps are not required.

Add the MongoDB credentials to NetBackup to facilitate communication:

  • See Adding MongoDB credentials in NetBackup.

  • See About the credential configuration file.

  • See How to add the MongoDB credentials in NetBackup.

    Note:

    If you use the MongoDB configuration tool, these steps are not required.

Give the appropriate permissions to a NetBackup user in MongoDB:

  • See About the MongoDB roles for protecting the data.

To use a non-root user or a user without root permissions as a host user:

  • See Host user requirements.

Identify and configure a backup host.

  • See Managing backup hosts.

  • To use NetBackup client as a backup host, include the NetBackup client on the primary server on the allowed list.

    See Including a NetBackup client on NetBackup primary server allowed list.

Back up your MongoDB database with NetBackup.

Overview of the backup process:

  • See About backing up MongoDB data.

  • See Backing up a MongoDB cluster.

Prerequisites or the best practices for backing up MongoDB databases:

  • See Prerequisites for backing up a MongoDB cluster.

  • See Creating a BigData backup policy for MongoDB clusters with web UI.

Restore and recover the MongoDB database.

Overview of the restore and the recovery process:

  • See About restoring MongoDB data.

Prerequisites or the best practices for backing up MongoDB databases:

  • See Prerequisites for MongoDB restore and recovery.

  • Restore and recovery using the web UI:

    • See Restore the MongoDB data on the same cluster.

    • See Restore the MongoDB data on an alternate cluster.

Feedback

Was this page helpful?
Previous

Overview of protecting MongoDB using NetBackup

Next

Protecting MongoDB data using NetBackup

Feedback

Was this page helpful?