Advertisement
aeciojr

Untitled

Apr 26th, 2017
568
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. # http://www.bacula.org/7.4.x-manuals/en/main/Configuring_Director.html#SECTION0017170000000000000000
  2.  
  3.  
  4. Director {
  5. Name = BaculaDIR-dir
  6. DIRport = 9101
  7. QueryFile = "/etc/bacula/scripts/query.sql"
  8. WorkingDirectory = "/var/lib/bacula"
  9. PidDirectory = "/var/run"
  10. Maximum Concurrent Jobs = 20
  11. Password = "password"
  12. Messages = Daemon
  13. }
  14.  
  15. FileSet {
  16. Name = "Full Set"
  17. Include {
  18. Options {
  19. signature = MD5
  20. }
  21. File = /usr/sbin
  22. }
  23.  
  24. Exclude {
  25. File = /var/lib/bacula
  26. File = /mnt/backup
  27. File = /proc
  28. File = /tmp
  29. File = /sys
  30. File = /.journal
  31. File = /.fsck
  32. }
  33. }
  34.  
  35.  
  36. FileSet {
  37. Name = "Catalog"
  38. Include {
  39. Options {
  40. signature = MD5
  41. }
  42. File = "/var/lib/bacula/bacula.sql"
  43. }
  44. }
  45.  
  46. Catalog {
  47. Name = MyCatalog
  48. dbname = "bacula"; dbuser = "bacula"; dbpassword = "password"; DB Address = "127.0.0.1";
  49. }
  50.  
  51. Messages {
  52. Name = Standard
  53. mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"
  54. operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
  55. mail = aecio.junior@centralit.com.br = all, !skipped
  56. operator = aecio.junior@centralit.com.br = mount
  57. console = all, !skipped, !saved
  58. append = "/var/log/bacula.log" = all, !skipped
  59. catalog = all
  60. }
  61.  
  62.  
  63. Messages {
  64. Name = Daemon
  65. mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r"
  66. mail = aecio.junior@centralit.com.br = all, !skipped
  67. console = all, !skipped, !saved
  68. append = "/var/log/bacula.log" = all, !skipped
  69. }
  70.  
  71.  
  72. Console {
  73. Name = BaculaDIR-mon
  74. Password = "password"
  75. CommandACL = status, .status
  76. }
  77.  
  78.  
  79. @|"sh -c 'cat /etc/bacula/clientes/*.conf'"
  80. @/etc/bacula/bacula-dir-jobdefs.conf
  81. @/etc/bacula/bacula-dir-pools.conf
  82. @/etc/bacula/bacula-dir-schedules.conf
  83. @/etc/bacula/bacula-dir-storages.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement