MySQL Example
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"
}
See also
Go back to:
Go to:
Go back to the Examples page.
Go back to the main Automatic Object Integration (Scan Plugin) page.