{"id":36,"date":"2012-11-06T01:50:06","date_gmt":"2012-11-06T09:50:06","guid":{"rendered":"http:\/\/blog.ls-al.com\/?p=36"},"modified":"2012-11-06T01:50:06","modified_gmt":"2012-11-06T09:50:06","slug":"bacula-cheatsheet-2","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/bacula-cheatsheet-2\/","title":{"rendered":"Bacula Cheatsheet"},"content":{"rendered":"
Just a few useful commands. Note that bconsole commands can be scripted by echoing commands through a pipe to bconsole.\u00a0 This is very helpful as you can see.<\/p>\n
Check bacula job progress:<\/strong><\/p>\n Check bacula running jobs:<\/strong><\/p>\n Check bacula volumes for specific Pool:<\/strong><\/p>\n Flag volume full:<\/strong><\/p>\n A better cheat sheet at this link: http:\/\/workaround.org\/bacula-cheatsheet<\/p>\n","protected":false},"excerpt":{"rendered":" Just a few useful commands. Note that bconsole commands can be scripted by echoing commands through a pipe to bconsole.\u00a0<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-36","post","type-post","status-publish","format-standard","hentry","category-backups"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/36","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":0,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/36\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}root@bcla001:~# echo \"status client=dracula-fd\" | bconsole | grep -i file\r\n Files=31,011 Bytes=507,017,314,659 Bytes\/sec=13,158,002 Errors=0\r\n Files Examined=31,011\r\n Processing file: \/raidvol\/home\/bob\/o_Data\/770\/9V904G8FMDW6X4473B3J8Q8H1B.vxml\r\n JobId Level Files Bytes Status Finished Name<\/pre>\n
root@bcla001:~# echo \"list jobs\" | bconsole | grep \"|\"\r\n| JobId | Name | StartTime | Type | Level | JobFiles | JobBytes | JobStatus |\r\n| 6 | Test | 2012-09-07 17:58:29 | B | F | 0 | 0 | R |<\/pre>\n
root@bcla001:~# echo \"list volumes Pool=FullTest\" | bconsole | grep \"|\"\r\n| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |\r\n| 1 | FullTest0001 | Full | 1 | 1862750776320 | 1863 | 15552000 | 1 | 0 | 0 | Ultrium5-SCSI | 2012-09-08 08:17:19 |\r\n| 2 | FullTest0002 | Used | 1 | 112992768000 | 113 | 15552000 | 1 | 0 | 0 | Ultrium5-SCSI | 2012-09-08 11:02:22 |<\/pre>\n
*update volume > Volume Status > Default > VOL034 > Full > Done<\/pre>\n