fileset.conf 5.2 KB

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