jobs.conf 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. JobDefs {
  2. Name = "DefaultJob"
  3. Type = Backup
  4. Level = Incremental
  5. Client = lto7-fd
  6. FileSet = "SelfTest" # selftest fileset (#13)
  7. #Schedule = "WeeklyCycle"
  8. Storage = File
  9. Messages = Standard
  10. Pool = Incremental
  11. Priority = 10
  12. Write Bootstrap = "/var/lib/bareos/%c.bsr"
  13. Full Backup Pool = Full # write Full Backups into "Full" Pool (#05)
  14. Differential Backup Pool = Differential # write Diff Backups into "Differential" Pool (#08)
  15. Incremental Backup Pool = Incremental # write Incr Backups into "Incremental" Pool (#11)
  16. }
  17. #
  18. JobDefs {
  19. Name = "weekly incremental"
  20. Type = Backup
  21. Level = Incremental
  22. Client = archivo-fd
  23. FileSet = "archivo hdd01" # selftest fileset (#13)
  24. #Schedule = "WeeklyCycle"
  25. Storage = "LTO7"
  26. Messages = Standard
  27. Pool = Incremental
  28. Priority = 10
  29. Write Bootstrap = "/var/lib/bareos/%c.bsr"
  30. Full Backup Pool = Full # write Full Backups into "Full" Pool (#05)
  31. Differential Backup Pool = Differential # write Diff Backups into "Differential" Pool (#08)
  32. Incremental Backup Pool = Incremental # write Incr Backups into "Incremental" Pool (#11)
  33. }
  34. # incremental Jobs
  35. Job {
  36. JobDefs = "weekly incremental"
  37. Name = "incremental hdd01"
  38. FileSet="archivo hdd01"
  39. }
  40. Job {
  41. JobDefs = "weekly incremental"
  42. Name = "incremental hdd02"
  43. FileSet="archivo hdd02"
  44. }
  45. Job {
  46. JobDefs = "weekly incremental"
  47. Name = "incremental hdd03"
  48. FileSet="archivo hdd03"
  49. }
  50. Job {
  51. JobDefs = "weekly incremental"
  52. Name = "incremental hdd04"
  53. FileSet="archivo hdd04"
  54. }
  55. Job {
  56. JobDefs = "weekly incremental"
  57. Name = "incremental hdd05"
  58. FileSet="archivo hdd05"
  59. }
  60. Job {
  61. JobDefs = "weekly incremental"
  62. Name = "incremental hdd06"
  63. FileSet="archivo hdd06"
  64. }
  65. Job {
  66. JobDefs = "weekly incremental"
  67. Name = "incremental hdd07"
  68. FileSet="archivo hdd07"
  69. }
  70. Job {
  71. JobDefs = "weekly incremental"
  72. Name = "incremental hdd08"
  73. FileSet="archivo hdd08"
  74. }
  75. Job {
  76. JobDefs = "weekly incremental"
  77. Name = "incremental hdd09"
  78. FileSet="archivo hdd09"
  79. }
  80. Job {
  81. JobDefs = "weekly incremental"
  82. Name = "incremental hdd10"
  83. FileSet="archivo hdd10"
  84. }
  85. Job {
  86. JobDefs = "weekly incremental"
  87. Name = "incremental hdd11"
  88. FileSet="archivo hdd11"
  89. }
  90. Job {
  91. JobDefs = "weekly incremental"
  92. Name = "incremental hdd12"
  93. FileSet="archivo hdd12"
  94. }
  95. Job {
  96. JobDefs = "weekly incremental"
  97. Name = "incremental hdd13"
  98. FileSet="archivo hdd13"
  99. }
  100. Job {
  101. JobDefs = "weekly incremental"
  102. Name = "incremental hdd14"
  103. FileSet="archivo hdd14"
  104. }
  105. Job {
  106. JobDefs = "weekly incremental"
  107. Name = "incremental hdd15"
  108. FileSet="archivo hdd15"
  109. }
  110. Job {
  111. JobDefs = "weekly incremental"
  112. Name = "incremental hdd16"
  113. FileSet="archivo hdd16"
  114. }
  115. Job {
  116. JobDefs = "weekly incremental"
  117. Name = "incremental hdd17"
  118. FileSet="archivo hdd17"
  119. }
  120. Job {
  121. JobDefs = "weekly incremental"
  122. Name = "incremental hdd18"
  123. FileSet="archivo hdd18"
  124. }
  125. Job {
  126. JobDefs = "weekly incremental"
  127. Name = "incremental hdd19"
  128. FileSet="archivo hdd19"
  129. }
  130. Job {
  131. JobDefs = "weekly incremental"
  132. Name = "incremental hdd20"
  133. FileSet="archivo hdd20"
  134. }
  135. Job {
  136. JobDefs = "weekly incremental"
  137. Name = "incremental hdd21"
  138. FileSet="archivo hdd21"
  139. }
  140. Job {
  141. JobDefs = "weekly incremental"
  142. Name = "incremental hdd22"
  143. FileSet="archivo hdd22"
  144. }
  145. Job {
  146. JobDefs = "weekly incremental"
  147. Name = "incremental hdd23"
  148. FileSet="archivo hdd23"
  149. }
  150. Job {
  151. JobDefs = "weekly incremental"
  152. Name = "incremental hdd24"
  153. FileSet="archivo hdd24"
  154. }
  155. Job {
  156. JobDefs = "weekly incremental"
  157. Name = "incremental hdd25"
  158. FileSet="archivo hdd25"
  159. }
  160. Job {
  161. JobDefs = "weekly incremental"
  162. Name = "incremental hdd26"
  163. FileSet="archivo hdd26"
  164. }
  165. Job {
  166. JobDefs = "weekly incremental"
  167. Name = "incremental hdd27"
  168. FileSet="archivo hdd27"
  169. }
  170. Job {
  171. JobDefs = "weekly incremental"
  172. Name = "incremental hdd28"
  173. FileSet="archivo hdd28"
  174. }
  175. Job {
  176. JobDefs = "weekly incremental"
  177. Name = "incremental hdd29"
  178. FileSet="archivo hdd29"
  179. }
  180. Job {
  181. JobDefs = "weekly incremental"
  182. Name = "incremental hdd30"
  183. FileSet="archivo hdd30"
  184. }
  185. Job {
  186. JobDefs = "weekly incremental"
  187. Name = "incremental hdd31"
  188. FileSet="archivo hdd31"
  189. }
  190. Job {
  191. JobDefs = "weekly incremental"
  192. Name = "incremental hdd32"
  193. FileSet="archivo hdd32"
  194. }
  195. Job {
  196. JobDefs = "weekly incremental"
  197. Name = "incremental hdd33"
  198. FileSet="archivo hdd33"
  199. }
  200. Job {
  201. JobDefs = "weekly incremental"
  202. Name = "incremental hdd34"
  203. FileSet="archivo hdd34"
  204. }
  205. Job {
  206. JobDefs = "weekly incremental"
  207. Name = "incremental hdd35"
  208. FileSet="archivo hdd35"
  209. }
  210. Job {
  211. JobDefs = "weekly incremental"
  212. Name = "incremental hdd36"
  213. FileSet="archivo hdd36"
  214. }
  215. Job {
  216. JobDefs = "weekly incremental"
  217. Name = "incremental hdd37"
  218. FileSet="archivo hdd37"
  219. }
  220. Job {
  221. JobDefs = "weekly incremental"
  222. Name = "incremental hdd38"
  223. FileSet="archivo hdd38"
  224. }
  225. Job {
  226. JobDefs = "weekly incremental"
  227. Name = "incremental hdd39"
  228. FileSet="archivo hdd39"
  229. }
  230. Job {
  231. JobDefs = "weekly incremental"
  232. Name = "incremental hdd40"
  233. FileSet="archivo hdd40"
  234. }
  235. #
  236. # Define the main manual full backup job
  237. Job {
  238. Name = "Backup_archivo_to_LTO7"
  239. JobDefs = "DefaultJob"
  240. Client = archivo-fd
  241. Storage="LTO7"
  242. FileSet="archivo hdd01"
  243. }
  244. #
  245. # Backup the catalog database (after the nightly save)
  246. #
  247. Job {
  248. Name = "BackupCatalog"
  249. JobDefs = "DefaultJob"
  250. Level = Full
  251. FileSet="Catalog"
  252. #Schedule = "WeeklyCycleAfterBackup"
  253. # This creates an ASCII copy of the catalog
  254. # Arguments to make_catalog_backup.pl are:
  255. # make_catalog_backup.pl <catalog-name>
  256. RunBeforeJob = "/usr/lib/bareos/scripts/make_catalog_backup.pl MyCatalog"
  257. # This deletes the copy of the catalog
  258. RunAfterJob = "/usr/lib/bareos/scripts/delete_catalog_backup"
  259. # This sends the bootstrap via mail for disaster recovery.
  260. # Should be sent to another system, please change recipient accordingly
  261. Write Bootstrap = "|/usr/bin/bsmtp -h localhost -f \"\(Bareos\) \" -s \"Bootstrap for Job %j\" root@localhost" # (#01)
  262. Priority = 11 # run after main backup
  263. }
  264. #
  265. # Standard Restore template, to be changed by Console program
  266. # Only one such job is needed for all Jobs/Clients/Storage ...
  267. #
  268. Job {
  269. Name = "RestoreFiles"
  270. Type = Restore
  271. Client=lto7-fd
  272. FileSet = "Linux All"
  273. Storage = File
  274. Pool = Incremental
  275. Messages = Standard
  276. Where = /storage/restore
  277. }