# # Default Bareos Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bareos release 13.1.0 (13 February 2013) -- suse openSUSE 12.2 (x86_64) # # You might also want to change the default email address # from root to your address. See the "mail" and "operator" # directives in the Messages resource. # Director { # define myself Name = suse122fresh-dir QueryFile = "/usr/lib/bareos/scripts/query.sql" Maximum Concurrent Jobs = 1 Password = "y2O0RWSljRktcwQ3b5985HVjLlk1ruHOAVgrGBMKtRQt" # Console password Messages = Daemon # remove comment in next line to load plugins from specified directory # Plugin Directory = /usr/lib64/bareos/plugins } JobDefs { Name = "DefaultJob" Type = Backup Level = Incremental Client = suse122fresh-fd FileSet = "Full Set" Schedule = "WeeklyCycle" Storage = File Messages = Standard Pool = Default Differential Backup Pool = Diff Incremental Backup Pool = Incr Full Backup Pool = Full Priority = 10 Write Bootstrap = "/var/lib/bareos/%c.bsr" } # # Define the main nightly save backup job # By default, this job will back up to disk in /var/lib/bareos/storage Job { Name = "BackupClient1" JobDefs = "DefaultJob" } #Job { # Name = "BackupClient2" # Client = suse122fresh2-fd # JobDefs = "DefaultJob" #} # Backup the catalog database (after the nightly save) Job { Name = "BackupCatalog" JobDefs = "DefaultJob" Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" # This creates an ASCII copy of the catalog # Arguments to make_catalog_backup.pl are: # make_catalog_backup.pl RunBeforeJob = "/usr/lib/bareos/scripts/make_catalog_backup.pl MyCatalog" # This deletes the copy of the catalog RunAfterJob = "/usr/lib/bareos/scripts/delete_catalog_backup" # This sends the bootstrap via mail for disaster recovery. # Should be sent to another system, please change recipient accordingly Write Bootstrap = "|/usr/sbin/bsmtp -h localhost -f \"\(Bareos\) \" -s \"Bootstrap for Job %j\" root@localhost" Priority = 11 # run after main backup } # # Standard Restore template, to be changed by Console program # Only one such job is needed for all Jobs/Clients/Storage ... # Job { Name = "RestoreFiles" Type = Restore Client=suse122fresh-fd FileSet="Full Set" Storage = File Pool = Default Messages = Standard Where = /tmp/bareos-restores } # List of files to be backed up FileSet { Name = "Full Set" Include { Options { signature = MD5 } # # Put your list of files here, preceded by 'File =', one per line # or include an external list with: # # File = \" -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 # # WARNING! the following will create a file that you must cycle from # time to time as it will grow indefinitely. However, it will # also keep all your messages if they scroll off the console. # append = "/var/log/bareos/bareos.log" = all, !skipped catalog = all } # # Message delivery for daemon messages (no job). 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 } # Default pool definition #Pool { # Name = Default # Pool Type = Backup # Recycle = yes # Bareos can automatically recycle Volumes # AutoPrune = yes # Prune expired volumes # Volume Retention = 365 days # one year #} # File Pool definition Pool { Name = File Pool Type = Backup Recycle = yes # Bareos can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year Maximum Volume Bytes = 50G # Limit Volume size to something reasonable Maximum Volumes = 100 # Limit number of Volumes in Pool } # Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 6 months # one year Label Format = "File-" Maximum Volume Bytes = 1 GB # Next Pool = Hidrive } Pool { Name = Incr Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 30 days # one year Label Format = "File-Incremental-" Maximum Volume Bytes = 1 GB } Pool { Name = Diff Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 3 months # one year Label Format = "File-Differential-" Maximum Volume Bytes = 1 GB } Pool { Name = Full Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 12 months # one year Label Format = "File-Full-" Maximum Volume Bytes = 10 GB } # Scratch pool definition Pool { Name = Scratch Pool Type = Backup } # # Restricted console used by tray-monitor to get the status of the director # Console { Name = suse122fresh-mon Password = "tk5W1j6LK0Rm0h6Rw4Eyzo2alQMx/wQw0X2OYRNWQTif" CommandACL = status, .status }