Skip to content
Permalink
Browse files

Merge pull request #245 from astoorangi/systemtest-python-plugin-fd

systemtests: added python-fd-plugin-local-fileset-test
  • Loading branch information...
joergsteffens committed Aug 22, 2019
2 parents 21ec094 + 1b34051 commit 55441d9a56ab1d01b2bdd86c253bd6456815379d
Showing with 418 additions and 37 deletions.
  1. +0 −4 core/src/plugins/dird/bareos-dir-class-plugin.py
  2. +5 −1 systemtests/CMakeLists.txt
  3. +1 −1 systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in
  4. +1 −1 systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-fd.d/client/myself.conf.in
  5. +1 −1 systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in
  6. +1 −1 systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in
  7. +1 −1 systemtests/tests/backup-bareos-test/etc/bareos/bareos-fd.d/client/myself.conf.in
  8. +1 −1 systemtests/tests/backup-bareos-test/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in
  9. +1 −1 systemtests/tests/backup-bscan/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in
  10. +1 −1 systemtests/tests/backup-bscan/etc/bareos/bareos-fd.d/client/myself.conf.in
  11. +1 −1 systemtests/tests/backup-bscan/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in
  12. +1 −1 systemtests/tests/bconsole-pam/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in
  13. +1 −1 systemtests/tests/bconsole-status-client/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in
  14. +1 −1 systemtests/tests/bconsole-status-client/etc/bareos/bareos-fd.d/client/myself.conf.in
  15. +1 −1 systemtests/tests/bconsole-status-client/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in
  16. +1 −1 systemtests/tests/copy-bscan/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in
  17. +1 −1 systemtests/tests/copy-bscan/etc/bareos/bareos-fd.d/client/myself.conf.in
  18. +1 −1 systemtests/tests/copy-bscan/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in
  19. +1 −1 systemtests/tests/copy-remote-bscan/etc/bareos-remote/bareos-sd.d/storage/bareos-sd.conf.in
  20. +1 −1 systemtests/tests/copy-remote-bscan/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in
  21. +1 −1 systemtests/tests/copy-remote-bscan/etc/bareos/bareos-fd.d/client/myself.conf.in
  22. +1 −1 systemtests/tests/copy-remote-bscan/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in
  23. +1 −1 systemtests/tests/multiplied-device-test/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in
  24. +1 −1 systemtests/tests/multiplied-device-test/etc/bareos/bareos-fd.d/client/myself.conf.in
  25. +1 −1 systemtests/tests/multiplied-device-test/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in
  26. +8 −0 ...tests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in
  27. +7 −0 ...mtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in
  28. +7 −0 ...ests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in
  29. +27 −0 ...sts/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in
  30. +11 −0 ...emtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in
  31. +10 −0 ...ests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/fileset/PluginTest.conf.in
  32. +11 −0 ...mtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in
  33. +20 −0 ...tests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in
  34. +11 −0 ...mtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in
  35. +6 −0 ...ts/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in
  36. +15 −0 ...ests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in
  37. +7 −0 ...emtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/messages/Daemon.conf.in
  38. +7 −0 ...tests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/messages/Standard.conf.in
  39. +10 −0 systemtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/pool/Differential.conf
  40. +10 −0 systemtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/pool/Full.conf
  41. +10 −0 systemtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/pool/Incremental.conf
  42. +4 −0 systemtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/pool/Scratch.conf
  43. +18 −0 systemtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/profile/operator.conf
  44. +8 −0 systemtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-dir.d/storage/File.conf.in
  45. +19 −0 systemtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-fd.d/client/myself.conf.in
  46. +5 −0 ...ests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in
  47. +6 −0 ...ests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-fd.d/director/bareos-mon.conf.in
  48. +5 −0 systemtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-fd.d/messages/Standard.conf
  49. +11 −0 ...tests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-sd.d/device/FileStorage.conf.in
  50. +5 −0 ...ests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in
  51. +6 −0 ...ests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-sd.d/director/bareos-mon.conf.in
  52. +5 −0 systemtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-sd.d/messages/Standard.conf
  53. +14 −0 ...mtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in
  54. +10 −0 systemtests/tests/python-fd-plugin-local-fileset-test/etc/bareos/bconsole.conf.in
  55. +5 −0 ...sts/python-fd-plugin-local-fileset-test/etc/bareos/tray-monitor.d/client/FileDaemon-local.conf.in
  56. +4 −0 ...sts/python-fd-plugin-local-fileset-test/etc/bareos/tray-monitor.d/director/Director-local.conf.in
  57. +7 −0 ...ts/tests/python-fd-plugin-local-fileset-test/etc/bareos/tray-monitor.d/monitor/bareos-mon.conf.in
  58. +5 −0 ...python-fd-plugin-local-fileset-test/etc/bareos/tray-monitor.d/storage/StorageDaemon-local.conf.in
  59. +67 −0 systemtests/tests/python-fd-plugin-local-fileset-test/testrunner
  60. +1 −1 systemtests/tests/virtualfull-bscan/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in
  61. +1 −1 systemtests/tests/virtualfull-bscan/etc/bareos/bareos-fd.d/client/myself.conf.in
  62. +1 −1 systemtests/tests/virtualfull-bscan/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in
  63. +1 −1 systemtests/tests/virtualfull/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in
  64. +1 −1 systemtests/tests/virtualfull/etc/bareos/bareos-fd.d/client/myself.conf.in
  65. +1 −1 systemtests/tests/virtualfull/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in
  66. +1 −1 systemtests/tests/webui-selenium/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in
  67. +1 −1 systemtests/tests/webui-selenium/etc/bareos/bareos-fd.d/client/myself.conf.in
  68. +1 −1 systemtests/tests/webui-selenium/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in
@@ -19,10 +19,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
#
# Bareos-dir-local-fileset a simple example for a python Bareos Dir Plugin using
# BareosDirPluginBaseclass. The plugin argument 'filename' is used to read
# all files listed in that file and add it to the fileset
#
# Author: Maik Aussendorf
#

@@ -96,9 +96,12 @@ set(logdir "log")
set(mon_dir_password "mon_dir_password")
set(mon_fd_password "mon_fd_password")
set(mon_sd_password "mon_sd_password")
set(plugindir ${PROJECT_BINARY_DIR}/plugindir)
set(python_plugin_module_src_dir ${CMAKE_SOURCE_DIR}/core/src/plugins)
set(plugindirtmp ${PROJECT_BINARY_DIR}/plugindirtmp)
set(rscripts ${PROJECT_BINARY_DIR}/scripts)
get_target_property(dir_plugin_binary_path python-dir BINARY_DIR)
get_target_property(fd_plugin_binary_path python-fd BINARY_DIR)
get_target_property(sd_plugin_binary_path python-sd BINARY_DIR)

set(sbindir ${PROJECT_BINARY_DIR}/sbin)

@@ -179,6 +182,7 @@ set(SYSTEM_TESTS
copy-bscan
copy-remote-bscan
bconsole-status-client
python-fd-plugin-local-fileset-test
)

set(SYSTEM_TESTS_DISABLED
@@ -19,7 +19,7 @@ Director { # define myself
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all director plugins (*-dir.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_dir@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -6,7 +6,7 @@ Client {
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all filedaemon plugins (*-fd.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_fd@"
# Plugin Names = ""

# if compatible is set to yes, we are compatible with bacula
@@ -6,7 +6,7 @@ Storage {
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all storage plugins (*-sd.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_sd@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -19,7 +19,7 @@ Director { # define myself
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all director plugins (*-dir.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_dir@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -6,7 +6,7 @@ Client {
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all filedaemon plugins (*-fd.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_fd@"
# Plugin Names = ""

# if compatible is set to yes, we are compatible with bacula
@@ -6,7 +6,7 @@ Storage {
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all storage plugins (*-sd.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_sd@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -19,7 +19,7 @@ Director { # define myself
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all director plugins (*-dir.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_dir@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -6,7 +6,7 @@ Client {
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all filedaemon plugins (*-fd.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_fd@"
# Plugin Names = ""

# if compatible is set to yes, we are compatible with bacula
@@ -6,7 +6,7 @@ Storage {
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all storage plugins (*-sd.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_sd@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -19,7 +19,7 @@ Director { # define myself
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all director plugins (*-dir.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_dir@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -19,7 +19,7 @@ Director { # define myself
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all director plugins (*-dir.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_dir@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -6,7 +6,7 @@ Client {
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all filedaemon plugins (*-fd.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_fd@"
# Plugin Names = ""

# if compatible is set to yes, we are compatible with bacula
@@ -6,7 +6,7 @@ Storage {
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all storage plugins (*-sd.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_sd@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -19,7 +19,7 @@ Director { # define myself
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all director plugins (*-dir.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_dir@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -6,7 +6,7 @@ Client {
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all filedaemon plugins (*-fd.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_fd@"
# Plugin Names = ""

# if compatible is set to yes, we are compatible with bacula
@@ -6,7 +6,7 @@ Storage {
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all storage plugins (*-sd.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_sd@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -6,7 +6,7 @@ Storage {
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all storage plugins (*-sd.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_dir@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -19,7 +19,7 @@ Director { # define myself
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all director plugins (*-dir.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_dir@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -6,7 +6,7 @@ Client {
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all filedaemon plugins (*-fd.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_fd@"
# Plugin Names = ""

# if compatible is set to yes, we are compatible with bacula
@@ -6,7 +6,7 @@ Storage {
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all storage plugins (*-sd.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_sd@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -19,7 +19,7 @@ Director { # define myself
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all director plugins (*-dir.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_dir@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -6,7 +6,7 @@ Client {
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all filedaemon plugins (*-fd.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_fd@"
# Plugin Names = ""

# if compatible is set to yes, we are compatible with bacula
@@ -6,7 +6,7 @@ Storage {
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all storage plugins (*-sd.so) from the "Plugin Directory".
#
# Plugin Directory = "@plugindir@"
# Plugin Directory = "@python_plugin_module_src_sd@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
@@ -0,0 +1,8 @@
Catalog {
Name = MyCatalog
#dbdriver = "@DEFAULT_DB_TYPE@"
dbdriver = "XXX_REPLACE_WITH_DATABASE_DRIVER_XXX"
dbname = "@db_name@"
dbuser = "@db_user@"
dbpassword = "@db_password@"
}
@@ -0,0 +1,7 @@
Client {
Name = bareos-fd
Description = "Client resource of the Director itself."
Address = localhost
Password = "@fd_password@" # password for FileDaemon
FD PORT = @fd_port@
}
@@ -0,0 +1,7 @@
Console {
Name = bareos-mon
Description = "Restricted console used by tray-monitor to get the status of the director."
Password = "@mon_dir_password@"
CommandACL = status, .status
JobACL = *all*
}
@@ -0,0 +1,27 @@
Director { # define myself
Name = bareos-dir
QueryFile = "@scriptdir@/query.sql"
Maximum Concurrent Jobs = 10
Password = "@dir_password@" # Console password
Messages = Daemon
Auditing = yes

# Enable the Heartbeat if you experience connection losses
# (eg. because of your router or firewall configuration).
# Additionally the Heartbeat can be enabled in bareos-sd and bareos-fd.
#
# Heartbeat Interval = 1 min

# remove comment in next line to load dynamic backends from specified directory
Backend Directory = @backenddir@

# remove comment from "Plugin Directory" to load plugins from specified directory.
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all director plugins (*-dir.so) from the "Plugin Directory".
#
# Plugin Directory = "@dir_plugin_binary_path@"
# Plugin Names = ""
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
DirPort = @dir_port@
}
@@ -0,0 +1,11 @@
FileSet {
Name = "Catalog"
Description = "Backup the catalog dump and Bareos configuration files."
Include {
Options {
signature = MD5
}
File = "@working_dir@/@db_name@.sql" # database dump
File = "@confdir@" # configuration
}
}
@@ -0,0 +1,10 @@
FileSet {
Name = "PluginTest"
Description = "Test the Plugin functionality with a Python Plugin."
Include {
Options {
signature = MD5
}
Plugin = "python:module_path=@python_plugin_module_src_dir@/filed:module_name=bareos-fd-local-fileset:filename=@tmpdir@/file-list"
}
}
@@ -0,0 +1,11 @@
FileSet {
Name = "SelfTest"
Description = "fileset just to backup some files for selftest"
Include {
Options {
Signature = MD5 # calculate md5 checksum per file
}
#File = "@sbindir@"
File=<@tmpdir@/file-list
}
}
@@ -0,0 +1,20 @@
Job {
Name = "BackupCatalog"
Description = "Backup the catalog database (after the nightly save)"
JobDefs = "DefaultJob"
Level = Full
FileSet="Catalog"

# This creates an ASCII copy of the catalog
# Arguments to make_catalog_backup.pl are:
# make_catalog_backup.pl <catalog-name>
RunBeforeJob = "@scriptdir@/make_catalog_backup.pl MyCatalog"

# This deletes the copy of the catalog
RunAfterJob = "@scriptdir@/delete_catalog_backup"

# This sends the bootstrap via mail for disaster recovery.
# Should be sent to another system, please change recipient accordingly
Write Bootstrap = "|@bindir@/bsmtp -h @smtp_host@ -f \"\(Bareos\) \" -s \"Bootstrap for Job %j\" @job_email@" # (#01)
Priority = 11 # run after main backup
}
@@ -0,0 +1,11 @@
Job {
Name = "RestoreFiles"
Description = "Standard Restore template. Only one such job is needed for all standard Jobs/Clients/Storage ..."
Type = Restore
Client = bareos-fd
FileSet = SelfTest
Storage = File
Pool = Incremental
Messages = Standard
Where = @tmp@/bareos-restores
}
@@ -0,0 +1,6 @@
Job {
Name = "backup-bareos-fd"
JobDefs = "DefaultJob"
Client = "bareos-fd"
FileSet = "PluginTest"
}
@@ -0,0 +1,15 @@
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
Client = bareos-fd
FileSet = "SelfTest"
Storage = File
Messages = Standard
Pool = Incremental
Priority = 10
Write Bootstrap = "@working_dir@/%c.bsr"
Full Backup Pool = Full # write Full Backups into "Full" Pool
Differential Backup Pool = Differential # write Diff Backups into "Differential" Pool
Incremental Backup Pool = Incremental # write Incr Backups into "Incremental" Pool
}
@@ -0,0 +1,7 @@
Messages {
Name = Daemon
Description = "Message delivery for daemon messages (no job)."
console = all, !skipped, !saved, !audit
append = "@logdir@/bareos.log" = all, !skipped, !audit
append = "@logdir@/bareos-audit.log" = audit
}
@@ -0,0 +1,7 @@
Messages {
Name = Standard
Description = "Reasonable message delivery -- send most everything to email address and to the console."
console = all, !skipped, !saved, !audit
append = "@logdir@/bareos.log" = all, !skipped, !saved, !audit
catalog = all, !skipped, !saved, !audit
}

0 comments on commit 55441d9

Please sign in to comment.
You can’t perform that action at this time.