fileset.conf 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  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. FileSet {
  24. Name = "archivo hdd02"
  25. Include {
  26. Options {
  27. signature = MD5
  28. One FS = Yes
  29. }
  30. File = /home/dp/hdd02/
  31. }
  32. }
  33. FileSet {
  34. Name = "archivo hdd03"
  35. Include {
  36. Options {
  37. signature = MD5
  38. One FS = Yes
  39. }
  40. File = /home/dp/hdd03/
  41. }
  42. }
  43. FileSet {
  44. Name = "archivo hdd04"
  45. Include {
  46. Options {
  47. signature = MD5
  48. One FS = Yes
  49. }
  50. File = /home/dp/hdd04/
  51. }
  52. }
  53. FileSet {
  54. Name = "archivo hdd05"
  55. Include {
  56. Options {
  57. signature = MD5
  58. One FS = Yes
  59. }
  60. File = /home/dp/hdd05/
  61. }
  62. }
  63. FileSet {
  64. Name = "archivo hdd06"
  65. Include {
  66. Options {
  67. signature = MD5
  68. One FS = Yes
  69. }
  70. File = /home/dp/hdd06/
  71. }
  72. }
  73. FileSet {
  74. Name = "archivo hdd07"
  75. Include {
  76. Options {
  77. signature = MD5
  78. One FS = Yes
  79. }
  80. File = /home/dp/hdd07/
  81. }
  82. }
  83. FileSet {
  84. Name = "archivo hdd08"
  85. Include {
  86. Options {
  87. signature = MD5
  88. One FS = Yes
  89. }
  90. File = /home/dp/hdd08/
  91. }
  92. }
  93. FileSet {
  94. Name = "archivo hdd09"
  95. Include {
  96. Options {
  97. signature = MD5
  98. One FS = Yes
  99. }
  100. File = /home/dp/hdd09/
  101. }
  102. }
  103. FileSet {
  104. Name = "archivo hdd10"
  105. Include {
  106. Options {
  107. signature = MD5
  108. One FS = Yes
  109. }
  110. File = /home/dp/hdd10/
  111. }
  112. }
  113. FileSet {
  114. Name = "archivo hdd11"
  115. Include {
  116. Options {
  117. signature = MD5
  118. One FS = Yes
  119. }
  120. File = /home/dp/hdd11/
  121. }
  122. }
  123. FileSet {
  124. Name = "archivo hdd12"
  125. Include {
  126. Options {
  127. signature = MD5
  128. One FS = Yes
  129. }
  130. File = /home/dp/hdd12/
  131. }
  132. }
  133. FileSet {
  134. Name = "archivo hdd13"
  135. Include {
  136. Options {
  137. signature = MD5
  138. One FS = Yes
  139. }
  140. File = /home/dp/hdd13/
  141. }
  142. }
  143. FileSet {
  144. Name = "archivo hdd14"
  145. Include {
  146. Options {
  147. signature = MD5
  148. One FS = Yes
  149. }
  150. File = /home/dp/hdd14/
  151. }
  152. }
  153. FileSet {
  154. Name = "archivo hdd15"
  155. Include {
  156. Options {
  157. signature = MD5
  158. One FS = Yes
  159. }
  160. File = /home/dp/hdd15/
  161. }
  162. }
  163. FileSet {
  164. Name = "archivo hdd16"
  165. Include {
  166. Options {
  167. signature = MD5
  168. One FS = Yes
  169. }
  170. File = /home/dp/hdd16/
  171. }
  172. }
  173. FileSet {
  174. Name = "archivo hdd17"
  175. Include {
  176. Options {
  177. signature = MD5
  178. One FS = Yes
  179. }
  180. File = /home/dp/hdd17/
  181. }
  182. }
  183. FileSet {
  184. Name = "archivo hdd18"
  185. Include {
  186. Options {
  187. signature = MD5
  188. One FS = Yes
  189. }
  190. File = /home/dp/hdd18/
  191. }
  192. }
  193. FileSet {
  194. Name = "archivo hdd19"
  195. Include {
  196. Options {
  197. signature = MD5
  198. One FS = Yes
  199. }
  200. File = /home/dp/hdd19/
  201. }
  202. }
  203. FileSet {
  204. Name = "archivo hdd20"
  205. Include {
  206. Options {
  207. signature = MD5
  208. One FS = Yes
  209. }
  210. File = /home/dp/hdd20/
  211. }
  212. }
  213. # # # # # # # # # # # # # # # # #
  214. # Predefined standart Filesets
  215. # # # # # # # # # # # # # # # # #
  216. #
  217. # This is the backup of the catalog
  218. FileSet {
  219. Name = "Catalog"
  220. Include {
  221. Options {
  222. signature = MD5
  223. }
  224. File = "/var/lib/bareos/bareos.sql" # database dump
  225. File = "/etc/bareos" # configuration
  226. }
  227. }
  228. # List of files to be backed up
  229. FileSet {
  230. Name = "archivo test"
  231. Include {
  232. Options {
  233. signature = MD5
  234. One FS = No # change into other filessytems
  235. }
  236. File = /home/dp/hdd17/lto_backup_test/
  237. }
  238. Exclude {
  239. File = /_md5_check
  240. File = /_full_list.csv
  241. }
  242. }
  243. FileSet {
  244. Name = "Linux All"
  245. Include {
  246. Options {
  247. Signature = MD5 # calculate md5 checksum per file
  248. One FS = No # change into other filessytems
  249. FS Type = ext2 # filesystems of given types will be backed up
  250. FS Type = ext3 # others will be ignored
  251. FS Type = ext4
  252. FS Type = xfs
  253. FS Type = zfs
  254. FS Type = reiserfs
  255. FS Type = jfs
  256. FS Type = btrfs
  257. }
  258. File = /
  259. }
  260. # Things that usually have to be excluded
  261. # You have to exclude /var/lib/bareos/storage
  262. # on your bareos server
  263. Exclude {
  264. File = /var/lib/bareos
  265. File = /var/lib/bareos/storage
  266. File = /proc
  267. File = /tmp
  268. File = /.journal
  269. File = /.fsck
  270. }
  271. }
  272. # fileset just to backup some files for selftest
  273. FileSet {
  274. Name = "SelfTest"
  275. Include {
  276. Options {
  277. Signature = MD5 # calculate md5 checksum per file
  278. }
  279. File = "/usr/sbin"
  280. }
  281. }