File: New_Features_in_9_6_0.html

package info (click to toggle)
bacula-doc 9.6.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 241,364 kB
  • sloc: makefile: 1,869; perl: 937; sh: 218
file content (153 lines) | stat: -rw-r--r-- 10,446 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title>New Features in 9.6.0</title>
		<meta content="text/html; charset=utf-8" http-equiv="content-type" />
		<meta content="New Features in 9.6.0" name="description" />
		<meta content="main" name="keywords" />
		<meta content="document" name="resource-type" />
		<meta content="global" name="distribution" />
		<meta content="LaTeX2HTML v2018" name="Generator" />
		<meta content="text/css" http-equiv="Content-Style-Type" />
		<link href="../css/main.css" rel="STYLESHEET" />
		<link href="New_Features_in_9_4_0.html" rel="next" />
		<link href="What_is_Bacula.html" rel="previous" />
		<link href="Main_Reference.html" rel="up" />
		<link href="New_Features_in_9_4_0.html" rel="next" />
	</head>
	<body>
		<div class="navigation"><a href="New_Features_in_9_4_0.html" name="tex2html1281"> <img align="BOTTOM" alt="next" border="0" class="navigation-next" height="24" src="../images/next.png" width="37" /></a> <a href="Main_Reference.html" name="tex2html1275"> <img align="BOTTOM" alt="up" border="0" class="navigation-up" height="24" src="../images/up.png" width="26" /></a> <a href="What_is_Bacula.html" name="tex2html1269"> <img align="BOTTOM" alt="previous" border="0" class="navigation-prev" height="24" src="../images/prev.png" width="63" /></a> <a href="Contents.html" name="tex2html1277"> <img align="BOTTOM" alt="contents" border="0" class="navigation-next" height="24" src="../images/contents.png" width="65" /></a> <a href="Index.html" name="tex2html1279"> <img align="BOTTOM" alt="index" border="0" class="navigation-next" height="24" src="../images/index.png" width="43" /></a><br /><b> Next:</b> <a href="New_Features_in_9_4_0.html" name="tex2html1282">New Features in 9.4.0</a> <b> Up:</b> <a href="Main_Reference.html" name="tex2html1276">Main Reference</a> <b> Previous:</b> <a href="What_is_Bacula.html" name="tex2html1270">What is Bacula?</a>  <b> <a href="Contents.html" name="tex2html1278">Contents</a></b>  <b> <a href="Index.html" name="tex2html1280">Index</a></b><br />
			<br />
		</div><a name="CHILD_LINKS"><strong>Subsections</strong></a><ul class="ChildLinks">
			<li>
				<ul>
					<li><a href="New_Features_in_9_6_0.html#SECTION00301000000000000000" name="tex2html1283">Building 9.6.4 and later</a></li>
					<li><a href="New_Features_in_9_6_0.html#SECTION00302000000000000000" name="tex2html1284">Docker Plugin</a></li>
					<li><a href="New_Features_in_9_6_0.html#SECTION00303000000000000000" name="tex2html1285">Real-Time Statistics Monitoring</a></li>
				</ul>
			</li>
		</ul>
		<hr />
		<h1><a name="SECTION00300000000000000000"> New Features in 9.6.0</a></h1>
		<p>
		</p>
		<h2><a name="SECTION00301000000000000000"> Building 9.6.4 and later</a></h2> Version 9.6.4 is a major security and bug fix release. We suggest everyone to upgrade as soon as possible. <p>
		</p> One significant improvement in this version is for the AWS S3 cloud driver. First the code base has been brought much closer to the Enterprise version (still a long ways to go). Second major change is that the community code now uses the latest version of libs3 as maintained by Bacula Systems. The libs3 code is available as a tar file for Bacula version 9.6.4 at: <p>
		</p>
		<p> http://www.bacula.org/downloads/libs3-20200523.tar.gzhttp://www.bacula.org/downloads/libs3-20200523.tar.gz </p>
		<p>
		</p>
		<p>
		</p> Note: Version 9.6.4 must be compiled with the above libs3 version or later. To build libs3: <pre>
- Remove any libs3 package loaded by your OS
- Download above link
- tar xvfz libs3-20200523.tar.gz
- cd libs3-20200523
- make  # should have no errors
- sudo make install
</pre><p>
		</p> Then when you do your Bacula ./configure &lt;args&gt; it should automatically detect and use the libs3. The output from the ./configure will show whether or not libs3 was found during the configuration. E.g. <p>
		</p><pre>
   S3 support:                yes
</pre><p>
		</p> in the output from ./configure. <p>
		</p>
		<h2><a name="SECTION00302000000000000000"> Docker Plugin</a></h2>
		<p> Containers is a relatively new system level virtualization concept that has less overhead than traditional virtualation. This is true because Container use the underlying operating system to provide all the needed services thus eliminating the need for multiple operating systems. </p>
		<p> Docker containers rely on sophisticated file system level data abstraction with a number of read-only images to create templates used for container initialization. </p>
		<p> With its Docker Plugin, the Bacula will save the full container image including all read-only and writable layers into a single image archive. </p>
		<p> It is not necessary to install a Bacula File daemon in each container, so each container can be backed up from a common image repository. </p>
		<p> The Bacula Docker Plugin will contact the Docker service to read and save the contents of any system image or container image using snapshots (default behavior) and dump them using the DockerAPI. </p>
		<p> The Docker Plugin whitepaper provides more detailed information. </p>
		<p>
		</p>
		<h2><a name="SECTION00303000000000000000"></a> <a name="CollectCommand"></a><br /> Real-Time Statistics Monitoring </h2>
		<p> All Bacula daemons can now collect internal performance statistics periodically and provide mechanisms to store the values to a CSV file or to send the values to a Graphite daemon via the network. Graphite is an enterprise-ready monitoring tool (<tt><a href="https://graphiteapp.org" name="tex2html1">https://graphiteapp.org</a></tt>). </p>
		<p>
			<div align="CENTER"><a name="fig:graphite"></a><a name="413"></a><table>
					<caption align="BOTTOM"><strong>Figure:</strong> Graphite Examples</caption>
					<tr>
						<td>
							<div align="CENTER">
							</div><img align="BOTTOM" alt="Image graphite1" border="0" height="305" src="../images/graphite1.png" width="583" /> <img align="BOTTOM" alt="Image graphite2" border="0" height="300" src="../images/graphite2.png" width="580" /></td>
					</tr>
				</table>
			</div>
		</p>
		<p>
		</p>
		<p> To activate the statistic collector feature, simply define a <b>Statistics resource in the daemon of your choice: </b></p>
		<p><pre>
Statistics {
 Name = "Graphite"
 Type = Graphite

# Graphite host information
 Host = "localhost"
 Port = 2003
}
</pre></p>
		<p><b>It is possible to change the interval that is used to collect the statistics with the <b>Interval directive (<b>5 mins by default), and use the <b>Metrics directive to select the data to collect (<b>all by default). </b></b></b></b></b></p>
		<p>
		</p><b><b><p><b><b><b><b><b>If the Graphite daemon cannot be reached, the statistics data are spooled on disk and are sent automatically when the Graphite daemon is available again. </b></b></b></b></b></p>
				<p>
				</p><b><b><p><b><b><b><b><b>The bconsole <b>statistics command can be used to display the current statistics in various formats (text or json for now). </b></b></b></b></b></b></p>
						<p><b><b><b></b><pre>
*statistics
Statistics available for:
     1: Director
     2: Storage
     3: Client
Select daemon type for statistics (1-3): 1
bacula.dir.config.clients=1
bacula.dir.config.jobs=3
bacula.dir.config.filesets=2
bacula.dir.config.pools=3
bacula.dir.config.schedules=2
...
*statistics storage
...
bacula.storage.bac-sd.device.File1.readbytes=214
bacula.storage.bac-sd.device.File1.readtime=12
bacula.storage.bac-sd.device.File1.readspeed=0.000000
bacula.storage.bac-sd.device.File1.writespeed=0.000000
bacula.storage.bac-sd.device.File1.status=1
bacula.storage.bac-sd.device.File1.writebytes=83013529
bacula.storage.bac-sd.device.File1.writetime=20356
...
</pre><b><b><b></b> </b></b></b></b></p>
						<p><b><b><b><b><b><b>The <b>statistics bconsole command can accept parameters to be scripted, for example it is possible to export the data in JSON, or to select which metrics to display. </b></b></b></b></b></b></b></p>
						<p><b><b><b><b><pre>
*statistics bacula.dir.config.clients bacula.dir.config.jobs json
[
  {
    "name": "bacula.dir.config.clients",
    "value": 1,
    "type": "Integer",
    "unit": "Clients",
    "description": "The number of defined clients in the Director."
  },
  {
    "name": "bacula.dir.config.jobs",
    "value": 3,
    "type": "Integer",
    "unit": "Jobs",
    "description": "The number of defined jobs in the Director."
  }
]
</pre><b><b><b><b> </b></b></b></b></b></b></b></b></p>
						<p><b><b><b><b><b><b><b>The <b>.status statistics command can be used to query the status of the Statistic collector thread. </b></b></b></b></b></b></b></b></p>
						<p><b><b><b><b><b></b><pre>
*.status dir statistics
Statistics backend: Graphite is running
 type=2 lasttimestamp=12-Sep-18 09:45
 interval=300 secs
 spooling=in progress
 lasterror=Could not connect to localhost:2003 Err=Connection refused

Update Statistics: running interval=300 secs lastupdate=12-Sep-18 09:45
*
</pre><b><b><b><b><b></b> </b></b></b></b></b></b></b></b></p>
						<p><b><b><b><b><b></b><div class="navigation">
												<hr /><a href="New_Features_in_9_4_0.html" name="tex2html1281"> <img align="BOTTOM" alt="next" border="0" class="navigation-next" height="24" src="../images/next.png" width="37" /></a> <a href="Main_Reference.html" name="tex2html1275"> <img align="BOTTOM" alt="up" border="0" class="navigation-up" height="24" src="../images/up.png" width="26" /></a> <a href="What_is_Bacula.html" name="tex2html1269"> <img align="BOTTOM" alt="previous" border="0" class="navigation-prev" height="24" src="../images/prev.png" width="63" /></a> <a href="Contents.html" name="tex2html1277"> <img align="BOTTOM" alt="contents" border="0" class="navigation-next" height="24" src="../images/contents.png" width="65" /></a> <a href="Index.html" name="tex2html1279"> <img align="BOTTOM" alt="index" border="0" class="navigation-next" height="24" src="../images/index.png" width="43" /></a><br /><b> Next:</b> <a href="New_Features_in_9_4_0.html" name="tex2html1282">New Features in 9.4.0</a> <b> Up:</b> <a href="Main_Reference.html" name="tex2html1276">Main Reference</a> <b> Previous:</b> <a href="What_is_Bacula.html" name="tex2html1270">What is Bacula?</a>  <b> <a href="Contents.html" name="tex2html1278">Contents</a></b>  <b> <a href="Index.html" name="tex2html1280">Index</a></b></div></b></b></b></b></p></b></b></b></b></body>
</html>