{"id":1142,"date":"2016-05-13T16:29:06","date_gmt":"2016-05-13T07:29:06","guid":{"rendered":"http:\/\/www.kinryo.net\/?p=1142"},"modified":"2016-05-13T16:29:30","modified_gmt":"2016-05-13T07:29:30","slug":"%ef%bc%94%ef%bc%9abacula-sd%e3%81%ae%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/www.kinryo.net\/?p=1142","title":{"rendered":"\uff14\uff1abacula-sd\u306e\u8a2d\u5b9a"},"content":{"rendered":"<p class=\"itemText\">bacula-sd.conf\u306e\u8a2d\u5b9a<\/p>\n<div class=\"xoopsCode\">\n<pre><code><span style=\"color: #0000ff;\">Storage {                             # definition of myself\r\n  Name = bacula-sd\r\n  SDPort = 9103                  # Director's port      \r\n  WorkingDirectory = \"\/var\/spool\/bacula\"\r\n  Pid Directory = \"\/var\/run\"\r\n  Maximum Concurrent Jobs = 20\r\n}\r\n\r\n# List Directors who are permitted to contact Storage daemon\r\nDirector {\r\n  Name = bacula-dir\r\n  Password = \"xxxxx\"\r\n}\r\n\r\n# Restricted Director, used by tray-monitor to get the\r\n#   status of the storage daemon\r\nDirector {\r\n  Name = bacula-mon\r\n  Password = \"xxxxxx\"\r\n  Monitor = yes\r\n}\r\n\r\n# Note, for a list of additional Device templates please\r\n#  see the directory &lt;bacula-source&gt;\/examples\/devices\r\n# Or follow the following link:\r\n#  http:\/\/bacula.svn.sourceforge.net\/viewvc\/bacula\/trunk\/bacula\/examples\/devices\/\r\n\r\n# Devices supported by this Storage daemon\r\n# To connect, the Director's bacula-dir.conf must have the\r\n#  same Name and MediaType. \r\nDevice {\r\n  Name = FileStorage\r\n  Media Type = File\r\n  Archive Device = \/Backup\u3000<span style=\"color: #000000;\">\u2190\u3000\u30d0\u30c3\u30af\u30a2\u30c3\u30d7file\u3092\u4fdd\u5b58\u3059\u308b\u5834\u6240<\/span>\r\n  LabelMedia = yes;                   # lets Bacula label unlabeled media\r\n  Random Access = Yes;\r\n  AutomaticMount = yes;               # when device opened, read it\r\n  RemovableMedia = no;\r\n  AlwaysOpen = no;\r\n}\r\n\r\n# Send all messages to the Director, \r\n# mount messages also are sent to the email address\r\nMessages {\r\n  Name = Standard\r\n  director = bacula-dir = all<\/span>\r\n<span style=\"color: #0000ff;\">}<\/span><\/code><\/pre>\n<\/div>\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9\uff08\u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9\u306b\u767b\u9332\u3057\u305fPW\uff09\u3068Archive Device = \/Backup\u4ee5\u5916\u306f\u30c7\u30d5\u30a9\u30fc\u30eb\u30c8\u307e\u307e\u3002Archive Device \u306f\u7269\u7406\u7684\u306b\u5225\u306e\u30c7\u30a3\u30b9\u30af\uff08\u3053\u306e\u30db\u30b9\u30c8\u81ea\u8eab\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3082\u53d6\u308b\u304b\u3089\uff09\u3067\u5bb9\u91cf\u306e\u5927\u304d\u306aDisk\u3092\u4f7f\u3046\u3002<\/p>\n<p>bconsole.conf\u306e\u8a2d\u5b9a<\/p>\n<div class=\"xoopsCode\">\n<pre><code><span style=\"color: #0000ff;\">Director {\r\n  Name = bacula-dir\r\n  DIRport = 9101\r\n  address = localhost\r\n  Password = \"xxxxx\"<\/span>\r\n<span style=\"color: #0000ff;\">}<\/span><\/code><\/pre>\n<\/div>\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9\uff08\u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9\u306b\u8a2d\u5b9a\u3057\u305fPW\uff09\u4ee5\u5916\u306fdefault\u306e\u307e\u307e\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>bacula-sd.conf\u306e\u8a2d\u5b9a Storage { # definition of myself Name = bacula-sd SDPort = 9103 # Director&#8217;s port WorkingDir &hellip; <a href=\"https:\/\/www.kinryo.net\/?p=1142\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[12],"tags":[],"class_list":["post-1142","post","type-post","status-publish","format-standard","hentry","category-bacula"],"acf":[],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/1142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1142"}],"version-history":[{"count":1,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/1142\/revisions"}],"predecessor-version":[{"id":1143,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/1142\/revisions\/1143"}],"wp:attachment":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}