fileset.conf 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  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. FileSet {
  234. Name = "archivo hdd21"
  235. Include {
  236. Options {
  237. signature = MD5
  238. One FS = Yes
  239. }
  240. File = /home/dp/hdd21/
  241. }
  242. }
  243. FileSet {
  244. Name = "archivo hdd22"
  245. Include {
  246. Options {
  247. signature = MD5
  248. One FS = Yes
  249. }
  250. File = /home/dp/hdd22/
  251. }
  252. }
  253. FileSet {
  254. Name = "archivo hdd23"
  255. Include {
  256. Options {
  257. signature = MD5
  258. One FS = Yes
  259. }
  260. File = /home/dp/hdd23/
  261. }
  262. }
  263. FileSet {
  264. Name = "archivo hdd24"
  265. Include {
  266. Options {
  267. signature = MD5
  268. One FS = Yes
  269. }
  270. File = /home/dp/hdd24/
  271. }
  272. }
  273. FileSet {
  274. Name = "archivo hdd25"
  275. Include {
  276. Options {
  277. signature = MD5
  278. One FS = Yes
  279. }
  280. File = /home/dp/hdd25/
  281. }
  282. }
  283. FileSet {
  284. Name = "archivo hdd26"
  285. Include {
  286. Options {
  287. signature = MD5
  288. One FS = Yes
  289. }
  290. File = /home/dp/hdd26/
  291. }
  292. }
  293. FileSet {
  294. Name = "archivo hdd27"
  295. Include {
  296. Options {
  297. signature = MD5
  298. One FS = Yes
  299. }
  300. File = /home/dp/hdd27/
  301. }
  302. }
  303. FileSet {
  304. Name = "archivo hdd28"
  305. Include {
  306. Options {
  307. signature = MD5
  308. One FS = Yes
  309. }
  310. File = /home/dp/hdd28/
  311. }
  312. }
  313. FileSet {
  314. Name = "archivo hdd29"
  315. Include {
  316. Options {
  317. signature = MD5
  318. One FS = Yes
  319. }
  320. File = /home/dp/hdd29/
  321. }
  322. }
  323. FileSet {
  324. Name = "archivo hdd30"
  325. Include {
  326. Options {
  327. signature = MD5
  328. One FS = Yes
  329. }
  330. File = /home/dp/hdd30/
  331. }
  332. }
  333. FileSet {
  334. Name = "archivo hdd31"
  335. Include {
  336. Options {
  337. signature = MD5
  338. One FS = Yes
  339. }
  340. File = /home/dp/hdd31/
  341. }
  342. }
  343. FileSet {
  344. Name = "archivo hdd32"
  345. Include {
  346. Options {
  347. signature = MD5
  348. One FS = Yes
  349. }
  350. File = /home/dp/hdd32/
  351. }
  352. }
  353. FileSet {
  354. Name = "archivo hdd33"
  355. Include {
  356. Options {
  357. signature = MD5
  358. One FS = Yes
  359. }
  360. File = /home/dp/hdd33/
  361. }
  362. }
  363. FileSet {
  364. Name = "archivo hdd34"
  365. Include {
  366. Options {
  367. signature = MD5
  368. One FS = Yes
  369. }
  370. File = /home/dp/hdd34/
  371. }
  372. }
  373. FileSet {
  374. Name = "archivo hdd35"
  375. Include {
  376. Options {
  377. signature = MD5
  378. One FS = Yes
  379. }
  380. File = /home/dp/hdd35/
  381. }
  382. }
  383. FileSet {
  384. Name = "archivo hdd36"
  385. Include {
  386. Options {
  387. signature = MD5
  388. One FS = Yes
  389. }
  390. File = /home/dp/hdd36/
  391. }
  392. }
  393. FileSet {
  394. Name = "archivo hdd37"
  395. Include {
  396. Options {
  397. signature = MD5
  398. One FS = Yes
  399. }
  400. File = /home/dp/hdd37/
  401. }
  402. }
  403. FileSet {
  404. Name = "archivo hdd38"
  405. Include {
  406. Options {
  407. signature = MD5
  408. One FS = Yes
  409. }
  410. File = /home/dp/hdd38/
  411. }
  412. }
  413. FileSet {
  414. Name = "archivo hdd39"
  415. Include {
  416. Options {
  417. signature = MD5
  418. One FS = Yes
  419. }
  420. File = /home/dp/hdd39/
  421. }
  422. }
  423. FileSet {
  424. Name = "archivo hdd40"
  425. Include {
  426. Options {
  427. signature = MD5
  428. One FS = Yes
  429. }
  430. File = /home/dp/hdd40/
  431. }
  432. }
  433. # Pubshare
  434. FileSet {
  435. Name = "barebone dpr12"
  436. Include {
  437. Options {
  438. signature = MD5
  439. One FS = Yes
  440. }
  441. File = /home/dp/products
  442. }
  443. }
  444. # # # # # # # # # # # # # # # # #
  445. # Predefined standart Filesets
  446. # # # # # # # # # # # # # # # # #
  447. #
  448. # This is the backup of the catalog
  449. FileSet {
  450. Name = "Catalog"
  451. Include {
  452. Options {
  453. signature = MD5
  454. }
  455. File = "/var/lib/bareos/bareos.sql" # database dump
  456. File = "/etc/bareos" # configuration
  457. }
  458. }
  459. # List of files to be backed up
  460. FileSet {
  461. Name = "archivo test"
  462. Include {
  463. Options {
  464. signature = MD5
  465. One FS = No # change into other filessytems
  466. }
  467. File = /home/dp/hdd17/lto_backup_test/
  468. }
  469. Exclude {
  470. File = /_md5_check
  471. File = /_full_list.csv
  472. }
  473. }
  474. FileSet {
  475. Name = "Linux All"
  476. Include {
  477. Options {
  478. Signature = MD5 # calculate md5 checksum per file
  479. One FS = No # change into other filessytems
  480. FS Type = ext2 # filesystems of given types will be backed up
  481. FS Type = ext3 # others will be ignored
  482. FS Type = ext4
  483. FS Type = xfs
  484. FS Type = zfs
  485. FS Type = reiserfs
  486. FS Type = jfs
  487. FS Type = btrfs
  488. }
  489. File = /
  490. }
  491. # Things that usually have to be excluded
  492. # You have to exclude /var/lib/bareos/storage
  493. # on your bareos server
  494. Exclude {
  495. File = /var/lib/bareos
  496. File = /var/lib/bareos/storage
  497. File = /proc
  498. File = /tmp
  499. File = /.journal
  500. File = /.fsck
  501. }
  502. }
  503. # fileset just to backup some files for selftest
  504. FileSet {
  505. Name = "SelfTest"
  506. Include {
  507. Options {
  508. Signature = MD5 # calculate md5 checksum per file
  509. }
  510. File = "/usr/sbin"
  511. }
  512. }