NOTICE: This Documentation is for JetBackup 4 for Linux.

Please CLICK HERE for the latest JetBackup 5 for Linux Documentation.


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


  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.


The hostname/ip where the MongoDB database is hosted.


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.


Name of the MongoDB admin database user.


Password of the MongoDB admin database user.

Auth. Database

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