NOTICE: JetBackup For Linux is in ALPHA testing stage. Please handle with caution. Any information on this document is subject to change as we continue to develop and make changes.

MongoDB

This guide shows how to set up a connection from your JetBackup server to a MongoDB database.

Requirements

  1. MongoDB server installed on the database server.
  2. For databases on a WAN IP, make sure you have access to the database port.
  3. User with all privileges for all databases.

Create database Connection

  1. Specify "Type" as "MongoDB".
  2. Enter a name for your MongoDB Database Connection.
  3. Enter your remote database hostname and port.
  4. If authorization is required, toggle Authentication Enabled and enter your database credentials.
  5. Click the "save" button.

An example configuration page for the database connection:

mongodb database connection

Database Name

A generic name for your internal ease of use, so it will be easier to recognize the database connection in case you have more than one. Max length is 40 characters.

Hostname

The hostname/ip where the MongoDB database is hosted.

Port

Your remote database port (default port is 27017 - you must specify this even if it's 27017).

Please make sure that the port you are using for MongoDB database connection is open in your database server firewall.

Authentication Enabled

Whether authentication is enabled/disabled on the remote MongoDB database server.

Username

Name of the MongoDB admin database user.

Password

Password of the MongoDB admin database user.

Auth. Database

Authorized Database of the MongoDB admin user (default database is admin).