Defining New Client Resource
CommunityEdit your /opt/bacula/etc/bacula-dir.conf
and add a Client Resource like:
Client {
Name = new-client-fd # Client resource name
Address = new.client.yourdomain # FQDN address of the client
FDPort = 9102 # Port used
Catalog = MyCatalog # Catalog used
Password = "4m4z1ngP4ssw0rd" # password for FileDaemon
File Retention = 60 days # Catalog file retention : 60 days
Job Retention = 6 months # Catalog Job retention : 6 months
AutoPrune = yes # Prune expired Jobs/Files
}
Once added, verify the syntax with:
#/opt/bacula/bin/bacula-dir-t-u bacula-g bacula
If no errors are reported, you can reload your configuration using bconsole:
#sudo-u bacula /opt/bacula/bin/bconsole
*reload
See also
Previous articles:
Next articles:
Go back to: Configuring New Client (File Daemon).