Chat now with support
Chat with Support

NetVault Plug-in for MongoDB 12.4 - User Guide

Configuring NetVault Backup Plug-in for MongoDB

When you install NetVault Backup Plug‑in for MongoDB, it includes the mongoc library provided by mongoc. After you register the MongoDB server, all of the databases for that server appear under the MongoDB node on the NetVault Backup Selections page.

1
In the Navigation pane, click Create Backup Job, and then click the Create New button next to the Selections list.
2
On the Selections page, under Server Details, enter the information described in the following table:
Table 2.  

User

The name used by the MongoDB backup administrator.

Password

The password used by the administrator entered as the User.

Hostname

The hostname or IP address for the MongoDB server.

Port

The port that MongoDB uses.

Mongo Shell Path

The MongoDB shell path on the NetVault Client.

Atlas Server

Select this option if the MongoDB installation is an Atlas cloud server.

3
Click OK to save the settings.
These settings are stored on the NetVault Backup Plug‑in for MongoDB Server in configuration files specific to the host, and applied during backups and restores of shared data performed through the host.

Backing up data

IMPORTANT: On Windows, use appropriate encoding during database cluster initialization; that is, when you run initdb. Backups fail if you use UTF-8 encoding and the database or table names contain non-ASCII characters.

Defining a backup strategy

Before commencing with database backups, ensure that you have a backup strategy that safeguards data against media failure, data corruption, user error, and loss of the database server. The following topic provides information that helps you devise a backup strategy for use with Plug‑in for MongoDB.

Example of a backup sequence

Plug‑in for MongoDB takes full and incremental backups of MongoDB databases. Following are two sequences that might meet your MongoDB database protection requirements.

Full database backups only: If update characteristics are similar across multiple databases, full database backups scheduled every night ensures data protection up to the previous day.
A full database backup consumes large amounts of storage space. However, restores are easier and quicker as only a single job is required to restore the entire cluster. Using the Custom Archive backup format can reduce the backup size.
Incremental database backup: An incremental database backup begins with a full backup of the database. Afterwards, the plug-in takes backups of only the changes that were made since the full backup was taken. You can schedule the frequency of the incremental backups when you create the backup job. This option uses less space on the backup target server than the full database backup option.
NOTE: Plug‑in for MongoDB does not back up the incremental addition of collections. Any changes or new collections are not captured in incremental backups. For more information, see https://support.quest.com/netvault/kb/333025/mongodb-incremental-backups-handling-change-streams.
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating