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. Veritas NetBackup™ for MongoDB Administrator's Guide
  3. Backing up MongoDB using NetBackup
  4. Backing up MongoDB data
Veritas NetBackup™ for MongoDB Administrator's Guide

Backing up MongoDB data

MongoDB data is backed up in parallel streams wherein MongoDB data nodes stream data blocks simultaneously to multiple backup hosts.

The following diagram provides an overview of the backup flow:

Figure: Backup flow

Backup flow

As illustrated in the above diagram:

  1. A scheduled backup job is triggered from the master server.

  2. Backup job for MongoDB data is a compound job. When the backup job is triggered, first a discovery job runs.

  3. During discovery, the backup host deploys a transient thin client (mdbserver) on the configuration server and obtains the details of the shards in the MongoDB cluster. The thin client also stops the balancing across the nodes in a replica set.

  4. After receiving the information about the cluster, the backup host deploys a thin client on the secondary node of a replica set in the MongoDB cluster.

  5. The thin client discovers the database paths dynamically, quiesces the secondary nodes, and takes snapshots for full backups and captures oplog for incremental backups.

  6. Individual child jobs run for each backup stream and data is backed up.

  7. Data blocks are streamed simultaneously from different secondary nodes to multiple backup hosts.

Once the backup operation is completed, the thin client is removed from the servers.

The compound backup job is not completed until all the child jobs are completed. After the child jobs are completed, NetBackup cleans all the snapshots from the secondary nodes. Only after the cleanup activity is completed, the compound backup job is completed.

Feedback

Was this page helpful?
Previous

Backing up MongoDB using NetBackup

Next

Backing up a MongoDB cluster

Feedback

Was this page helpful?