fileset.conf 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # List of files to be backed up
  2. FileSet {
  3. Name = "archivo all dirs"
  4. Include {
  5. Options {
  6. signature = MD5
  7. One FS = No # change into other filessytems
  8. }
  9. File = /home/dp/lto_backup_all_dirs/
  10. }
  11. }
  12. # List of files to be backed up
  13. FileSet {
  14. Name = "archivo hdd01"
  15. Include {
  16. Options {
  17. signature = MD5
  18. One FS = Yes
  19. }
  20. File = /home/dp/hdd01/
  21. }
  22. }
  23. #
  24. # Predefined standart Filesets
  25. #
  26. # This is the backup of the catalog
  27. FileSet {
  28. Name = "Catalog"
  29. Include {
  30. Options {
  31. signature = MD5
  32. }
  33. File = "/var/lib/bareos/bareos.sql" # database dump
  34. File = "/etc/bareos" # configuration
  35. }
  36. }
  37. # List of files to be backed up
  38. FileSet {
  39. Name = "archivo test"
  40. Include {
  41. Options {
  42. signature = MD5
  43. One FS = No # change into other filessytems
  44. }
  45. File = /home/dp/hdd17/lto_backup_test/
  46. }
  47. Exclude {
  48. File = /_md5_check
  49. File = /_full_list.csv
  50. }
  51. }
  52. FileSet {
  53. Name = "Linux All"
  54. Include {
  55. Options {
  56. Signature = MD5 # calculate md5 checksum per file
  57. One FS = No # change into other filessytems
  58. FS Type = ext2 # filesystems of given types will be backed up
  59. FS Type = ext3 # others will be ignored
  60. FS Type = ext4
  61. FS Type = xfs
  62. FS Type = zfs
  63. FS Type = reiserfs
  64. FS Type = jfs
  65. FS Type = btrfs
  66. }
  67. File = /
  68. }
  69. # Things that usually have to be excluded
  70. # You have to exclude /var/lib/bareos/storage
  71. # on your bareos server
  72. Exclude {
  73. File = /var/lib/bareos
  74. File = /var/lib/bareos/storage
  75. File = /proc
  76. File = /tmp
  77. File = /.journal
  78. File = /.fsck
  79. }
  80. }
  81. # fileset just to backup some files for selftest
  82. FileSet {
  83. Name = "SelfTest"
  84. Include {
  85. Options {
  86. Signature = MD5 # calculate md5 checksum per file
  87. }
  88. File = "/usr/sbin"
  89. }
  90. }