for an individual file include you can place an "@" in front of the
filename.
I dont think that there is a full directory include at this time.
Here is an example of my bacula-dir.conf:
Director {
Name = kninfra01_mycastle-dir
DIRport = 9501
QueryFile = "/usr/local/bacula_mycastle/etc/query.sql"
WorkingDirectory = "/usr/local/bacula_mycastle/var/bacula/working"
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 1
Password = "removed..."
Messages = Daemon
}
#########################
# INCLUDES:
#########################
@server_configs/kninfra01_mycastle.conf
@server_configs/BackupCatalog.conf
@server_configs/RestoreFiles.conf
@server_configs/mycastledb01.conf
@server_configs/mycastleapp01.conf
@server_configs/mycastletest01.conf
@server_configs/mycastledb02.conf
#########################
# SCHEDULES:
#########################
@schedule_configs/WeeklyCycle.conf
@schedule_configs/WeeklyCycleAfterBackup.conf
@schedule_configs/mycastle_schedule.conf
#########################
# STORAGE DEFINITIONS
#########################
@storage_definitions/vtape_mycastle.conf
#########################
# POOLS:
#########################
@pool_definitions/vtape_mycastle_pool.conf
#########################
# CATALOGS:
#########################
@catalog_definitions/MCCatalog.conf
#########################
# MESSAGING:
#########################
@message_definitions/Standard_messages.conf
@message_definitions/Daemon_messages.conf
#########################
# CONSOLES:
#########################
@console_definitions/default_console.conf
-Jeff Humes
James Harper wrote:
Do any of the configuration files allow an include statement? What about
an include statement to include all files in a directory? Eg
"
Director {
Name = my-dir
...
}
include "/etc/bacula/bacula-dir.d/"
"
My bacula-dir.conf only has a few clients in it and is already huge.
Breaking up the config would also allow simpler manipulation by a GUI.
Thanks
James
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users