Director { # define myself Name = alpha-dir QueryFile = "/usr/lib/bareos/scripts/query.sql" Maximum Concurrent Jobs = 1 Password = "SECRET" # Console password Messages = Daemon TLS Enable = yes TLS Require = yes TLS Certificate = /etc/bareos/x509/alpha-dir.crt.pem TLS Key = /etc/bareos/x509/alpha-dir.key.pem TLS Verify Peer = yes TLS CA Certificate File = /etc/bareos/x509/bareos-user-ca.crt.pem TLS Certificate Revocation List = /etc/bareos/x509/bareos-user-ca.crl.pem TLS DH File = /etc/bareos/x509/alpha-dir.dh4096.pem # remove comment in next line to load plugins from specified directory # Plugin Directory = /usr/lib/bareos/plugins } Catalog { Name = bareos # Uncomment the following lines if you want the dbi driver # dbdriver = "dbi:postgresql"; dbaddress = 127.0.0.1; dbport = #dbdriver = "postgresql" dbdriver = "postgresql" dbname = "bareos" dbuser = "bareos" } Messages { Name = Standard mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bareos\) \<%r\>\" -s \"Bareos: %t %e of %c %l\" %r" operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bareos\) \<%r\>\" -s \"Bareos: Intervention needed for %j\" %r" mail = root@localhost = all, !skipped operator = root@localhost = mount console = all, !skipped, !saved append = "/var/log/bareos/bareos.log" = all, !skipped catalog = all } Messages { Name = Daemon mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bareos\) \<%r\>\" -s \"Bareos daemon message\" %r" mail = root@localhost = all, !skipped console = all, !skipped, !saved append = "/var/log/bareos/bareos.log" = all, !skipped } Client { Name = none Address = localhost Password = "NoNe" Catalog = bareos } Storage { Name = alpha-sd Address = alpha.example.com SDPort = 9103 Password = "SECRET" Device = alpha_file Media Type = alpha_file Maximum Concurrent Jobs = 20 TLS Enable = yes TLS Require = yes TLS Certificate = /etc/bareos/x509/alpha-dir.crt.pem TLS Key = /etc/bareos/x509/alpha-dir.key.pem TLS CA Certificbareos-storage-daemon-ca.crt.pem TLS Certificate Revocation List = /etc/bareos/x509/bareos-storage-daemon-ca.crl.pem } Client { Name = gamma-fd Address = gamma.example.com FDPort = 9102 Catalog = bareos Password = "SECRET" Maximum Concurrent Jobs = 1 TLS Enable = yes TLS Require = yes TLS Certificate = /etc/bareos/x509/alpha-dir.crt.pem TLS Key = /etc/bareos/x509/alpha-dir.key.pem TLS CA Certificate File = /etc/bareos/x509/bareos-file-daemon-ca.crt.pem TLS Certificate Revocation List = /etc/bareos/x509/bareos-file-daemon-ca.crl.pem } FileSet { Name = none Include { Options { signature = MD5 } } } JobDefs { Name = default Type = Backup Level = Full FileSet = none Messages = Standard Pool = manual Accurate = yes Max Full Interval = 30d Priority = 10 Write Bootstrap = "/var/lib/bareos/%c.bsr" } Job { Name = restore Type = Restore Pool = manual Client = alpha-fd FileSet = none Messages = Standard Where = /tmp/bareos-restore } Joa-sd NextPool = manual-gamma Recycle = yes AutoPrune = yes Volume Retention = 365 days Volume Use Duration = 1d Maximum Volume Bytes = 4G Label Format = manual- } Pool { Name = manual-gamma Pool Type = Backup Storage = gamma-sd Recycle = yes AutoPrune = yes Volume Retention = 365 days Volume Use Duration = 1d Maximum Volume Bytes = 4G Label Format = manual-gamma- }