bareos-sd.conf 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #
  2. # Default Bareos Storage Daemon Configuration file
  3. #
  4. # For Bareos release 15.2.2 (16 November 2015) -- ubuntu Ubuntu 14.04 LTS
  5. #
  6. # You may need to change the name of your tape drive
  7. # on the "Archive Device" directive in the Device
  8. # resource. If you change the Name and/or the
  9. # "Media Type" in the Device resource, please ensure
  10. # that the Bareos director has corresponding changes.
  11. #
  12. Storage { # definition of myself
  13. Name = lto7-sd
  14. Maximum Concurrent Jobs = 20
  15. # remove comment from "Plugin Directory" to load plugins from specified directory.
  16. # if "Plugin Names" is defined, only the specified plugins will be loaded,
  17. # otherwise all storage plugins (*-sd.so) from the "Plugin Directory".
  18. #
  19. # Plugin Directory = /usr/lib/bareos/plugins
  20. # Plugin Names = ""
  21. }
  22. #
  23. # List Directors who are permitted to contact Storage daemon
  24. #
  25. Director {
  26. Name = lto7-dir
  27. Password = "Ia+A/4PGvr4kFgI9CYOZX73qqRXqUi8llZNymggM3k18"
  28. }
  29. #
  30. # Restricted Director, used by tray-monitor to get the
  31. # status of the storage daemon
  32. #
  33. Director {
  34. Name = lto7-mon
  35. Password = "N2RQeE66evi54j+BY0CE5M4g1qsI8v3EC+Yuq26Z+GXT"
  36. Monitor = yes
  37. }
  38. #
  39. # Devices supported by this Storage daemon
  40. # To connect, the Director's bareos-dir.conf must have the same Name and MediaType.
  41. #
  42. Device {
  43. Name = FileStorage
  44. Media Type = File
  45. Archive Device = /var/lib/bareos/storage
  46. LabelMedia = yes; # lets Bareos label unlabeled media
  47. Random Access = yes;
  48. AutomaticMount = yes; # when device opened, read it
  49. RemovableMedia = no;
  50. AlwaysOpen = no;
  51. }
  52. #
  53. # include additional configuration files, if required
  54. #
  55. # eg.
  56. #@/etc/bareos/bareos-sd.d/device-gluster.conf
  57. #
  58. # Send all messages to the Director,
  59. # mount messages also are sent to the email address
  60. #
  61. Messages {
  62. Name = Standard
  63. director = lto7-dir = all
  64. }