Veritas NetBackup™ for MongoDB Administrator's Guide
- Overview of protecting MongoDB using NetBackup
- Verify the pre-requisites for the MongoDB plug-in for NetBackup
- Configuring NetBackup for MongoDB
- Configuring backup options for MongoDB using the mongodb.conf file
- Adding MongoDB credentials in NetBackup
- Managing backup hosts
- Backing up MongoDB using NetBackup
- Backing up MongoDB data
- Configuring NetBackup policies for MongoDB plug-in
- Restoring or recovering MongoDB data using NetBackup
- About the restore scenarios for MongoDB database from the BAR interface
- Recovering a MongoDB database using the command line
- Troubleshooting
- Appendix A. Additional information
Managing backup hosts
A backup host acts as a proxy client which hosts all the backup and restore operations for MongoDB clusters. In case of MongoDB plug-in for NetBackup, backup host performs all the backup and restore operations without any separate agent installed on the MongoDB cluster.
The backup host must have a Linux operating system. NetBackup supports only RHEL and SUSE platforms as a backup host.
The backup host can be a NetBackup client or a media server or a master server. Veritas recommends that you have media server as a backup host.
Consider the following before adding a backup host:
For backup and restore operations, you can add one or more backup hosts.
A master, media, or client can perform the role of a backup host.
MongoDB plug-in for NetBackup is installed on all the backup hosts.
When using multiple backup host, make sure that all backup hosts are communicating with the media server.
You can add a backup host while configuring BigData policy using either the NetBackup Administration Console or Command Line Interface.
For more information on how to create a policy, see See Creating a BigData backup policy.
To add a backup host
- In the Backup Selections tab, click New and add the backup host in the following format:
Backup_Host=<FQDN_or_hostname>
For more information on how to create a policy, See Creating a BigData backup policy.
Alternatively, you can also add a backup host using the following command:
For Windows:
bpplinclude PolicyName -add "Backup_Host=FQDN_or_hostname"
For UNIX:
bpplinclude PolicyName -add "Backup_Host=FQDN_or_hostname"
For more information about the bpplinclude command, refer to the NetBackup Commands Reference Guide.
For more information, See Using NetBackup Command Line Interface (CLI) to create a BigData policy for MongoDB clusters .
To remove a backup host
- In the Backup Selections tab, select the backup host that you want to remove.
- Right click the selected backup host and click Delete.
Alternatively, you can also remove a backup host using the following command:
For Windows:
bpplinclude PolicyName -delete "Backup_Host=FQDN_or_hostname"
For UNIX:
bpplinclude PolicyName -delete "Backup_Host=FQDN_or_hostname"
For more information about the bpplinclude command, refer to the NetBackup Commands Reference Guide.