Edit #1
Only a single type (Backup, Restore, ...) can be specified for any job. If you want to backup multiple FileSets on the same Client or multiple Clients, you must define a Job for each one.
I am guessing the answer is "no" to this question. FML
I created some Bacula FileSets like below to include in a Bacula Job. I need to run the same job on six different hosts (clients), but I don't have a clue on how to do it.
So, I set up some FileSets, like below:
# Wildfly FileSet
FileSet {
Name = "Wildfly"
Include {
Options {
signature = MD5
compression = GZIP
}
File = /opt/wildfly/
}
}
# Scripts, Crontabs and Configuration files FileSet
FileSet {
Name = "Scripts Crontabs e Conf"
Include {
Options {
signature = MD5
compression = GZIP
}
File = /usr/local/scripts/
File = /var/spool/cron/crontabs/
File = /etc
}
Exclude {
File = /etc/ssl/
File = /etc/ldap/
}
}
And then I created a job:
Job {
Name = "BackupMyHostName"
JobDefs = "DefaultJob"
Client = MyHostName-fd
Pool = MyBackupPolicy
FileSet="Wildfly"
}
It's gonna be complicated if I have to copy and paste the same code six times for each different fileset. I have 40 (forty) more servers ahead.
I'm new to Bacula, but it's been a week already and only now I am able to grasp some of the definitions of the system.
I need a kind push on the right direction for this task.