MySQL Example

Enterprise

Bacula Enterprise Only

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

In the example presented below, the Scan Plugin will be used in an Admin Job and handle connect a mysql databases via the MySQL Plugin installed on the Bacula Client db-fd. Each database detected will be handled by a separated Job and Fileset. The Job directives will be defined via the JobDefs BackupsToDisk.

Job {
  Name = A_db-sd_mysql
  Type = Admin
  JobDefs = BackupsToDisk
  RunsBeforeJob = "/opt/bacula/bin/scan_plugin --jobdefs BackupsToDisk --client db-fd --plugin mysql --plugin_option abort_on_error --commit_and_reload"
}

Go back to: Examples.