MongoDB Plugin: Configuration

Enterprise

Bacula Enterprise Only

This solution is only available for Bacula Enterprise. For subscription inquiries, please reach out to sales@baculasystems.com.

This chapter explains how to configure Bacula jobs and Filesets for the MongoDB Plugin. Once the plugin is installed, MongoDB backups are configured like other Bacula Enterprise backup jobs: create a Fileset that invokes the plugin, attach that Fileset to a Job, and schedule it according to the required recovery point objective.

Basic Job Example

MongoDB Job configuration
Job {
   Name = "MongoDB-Backup"
   JobDefs = "DefaultJob"
   Client = mongodb-fd
   FileSet = "FS-MongoDB"
   Storage = File
   Pool = Default
   Messages = Standard
   Accurate = yes
}

FileSet {
   Name = "FS-MongoDB"
   Include {
      Options { signature = MD5 }
      Plugin = "mongodb: uri=mongodb://backup:secret@mongo1.example.com:27017/admin?authSource=admin"
   }
}

The following sections document the plugin parameters and provide complete Fileset examples for common production scenarios.

Read more:

Go back to: MongoDB Plugin.