source: box/trunk/docs/docbook/raidfile-config.xml @ 2474

Revision 2474, 6.0 KB checked in by chris, 3 years ago (diff)

Reorganise docs in trunk to match distribution layout, which is cleaner,
and makes Makefile work on distributions and trunk equally.

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<refentry version="5.0" xmlns="http://docbook.org/ns/docbook"
3          xmlns:xlink="http://www.w3.org/1999/xlink"
4          xmlns:xi="http://www.w3.org/2001/XInclude"
5          xmlns:svg="http://www.w3.org/2000/svg"
6          xmlns:m="http://www.w3.org/1998/Math/MathML"
7          xmlns:html="http://www.w3.org/1999/xhtml"
8          xmlns:db="http://docbook.org/ns/docbook">
9  <refmeta>
10    <refentrytitle>raidfile-config</refentrytitle>
11
12    <manvolnum>8</manvolnum>
13
14    <refmiscinfo class="manual">Box Backup</refmiscinfo>
15
16    <refmiscinfo class="source">Box Backup</refmiscinfo>
17
18    <refmiscinfo class="version">0.11</refmiscinfo>
19  </refmeta>
20
21  <refnamediv>
22    <refname>raidfile-config</refname>
23
24    <refpurpose>Configure Box Backup's RAID files</refpurpose>
25  </refnamediv>
26
27  <refsynopsisdiv>
28    <cmdsynopsis>
29      <command>raidfile-config</command>
30
31      <arg choice="plain">config-dir</arg>
32
33      <arg choice="plain">blocksize</arg>
34
35      <arg choice="plain">dir1 <arg>dir2 <arg>dir3</arg></arg></arg>
36    </cmdsynopsis>
37  </refsynopsisdiv>
38
39  <refsection>
40    <title>Description</title>
41
42    <para>raidfile-config creates a raidfile.conf file for Box Backup. This
43    file holds information about the directories used to store backups in. Box
44    Backup supports userland RAID, in a restricted RAID5 configuration, where
45    3 and only 3 'drives' are supported. You can read more about RAID5 (and
46    other RAID-levels) <ulink
47    url="http://en.wikipedia.org/wiki/Redundant_array_of_independent_disks#RAID_5">here</ulink>.</para>
48
49    <refsection>
50      <title>Parameters</title>
51
52      <para>The parameters are as follows:</para>
53
54      <variablelist>
55        <varlistentry>
56          <term><varname>config-dir</varname></term>
57
58          <listitem>
59            <para>The directory path where configuration files are located.
60            Usually this is <filename>/etc/box</filename>.
61            <filename>raidfile.conf</filename> will be written in this
62            directory.</para>
63          </listitem>
64        </varlistentry>
65
66        <varlistentry>
67          <term><varname>blocksize</varname></term>
68
69          <listitem>
70            <para>The block size used for file storage in the system, in
71            bytes. Using a multiple of the file system block size is a good
72            strategy. Depending on the size of the files you will be backing
73            up, this multiple varies. Of course it also depends on the native
74            block size of your file system.</para>
75          </listitem>
76        </varlistentry>
77
78        <varlistentry>
79          <term><varname>dir1</varname></term>
80
81          <listitem>
82            <para>The first directory in the built-in RAID array.</para>
83          </listitem>
84        </varlistentry>
85
86        <varlistentry>
87          <term><varname>dir2</varname></term>
88
89          <listitem>
90            <para>The second directory in the built-in RAID array. If you are
91            not using the built-in RAID functionality, this field should be
92            ignored. You should not use the built-in RAID if you have a
93            hardware RAID solution or if you're using another type of software
94            RAID (like md on Linux).</para>
95          </listitem>
96        </varlistentry>
97
98        <varlistentry>
99          <term><varname>dir3</varname></term>
100
101          <listitem>
102            <para>The third directory in the built-in RAID array. The same
103            notes that apply to <varname>dir2</varname> also apply to
104            <varname>dir3</varname>.</para>
105          </listitem>
106        </varlistentry>
107      </variablelist>
108
109      <para>Note that there are currently no way to add multiple disk sets to
110      the raidfile.conf file using command line tools, etc. See <citerefentry>
111          <refentrytitle>raidfile.conf</refentrytitle>
112
113          <manvolnum>5</manvolnum>
114        </citerefentry> for details on adding more disks.</para>
115    </refsection>
116  </refsection>
117
118  <refsection>
119    <title>Bugs</title>
120
121    <para>If you find a bug in Box Backup, and you want to let us know about
122    it, join the <ulink
123    url="http://lists.warhead.org.uk/mailman/listinfo/boxbackup">mailing
124    list</ulink>, and send a description of the problem there.</para>
125
126    <para>To report a bug, give us at least the following information:</para>
127
128    <itemizedlist>
129      <listitem>
130        <para>The version of Box Backup you are running</para>
131      </listitem>
132
133      <listitem>
134        <para>The platform you are running on (hardware and OS), for both
135        client and server.</para>
136      </listitem>
137
138      <listitem>
139        <para>If possible attach your config files (bbstored.conf,
140        bbackupd.conf) to the bug report.</para>
141      </listitem>
142
143      <listitem>
144        <para>Also attach any log file output that helps shed light on the
145        problem you are seeing.</para>
146      </listitem>
147
148      <listitem>
149        <para>And last but certainly not least, a description of what you are
150        seeing, in as much detail as possible.</para>
151      </listitem>
152    </itemizedlist>
153  </refsection>
154
155  <refsection>
156    <title>Files</title>
157
158    <para><command>raidfile-config</command> generates the <citerefentry>
159        <refentrytitle>raidfile.conf</refentrytitle>
160
161        <manvolnum>5</manvolnum>
162      </citerefentry> file.</para>
163  </refsection>
164
165  <refsection>
166    <title>See Also</title>
167
168    <para><citerefentry>
169        <refentrytitle>bbstored-config</refentrytitle>
170
171        <manvolnum>8</manvolnum>
172      </citerefentry>, <citerefentry>
173        <refentrytitle>bbstored.conf</refentrytitle>
174
175        <manvolnum>5</manvolnum>
176      </citerefentry>, <citerefentry>
177        <refentrytitle>raidfile.conf</refentrytitle>
178
179        <manvolnum>5</manvolnum>
180      </citerefentry></para>
181  </refsection>
182
183  <refsection>
184    <title>Authors</title>
185
186    <para><author>
187        <personname>Ben Summers</personname>
188      </author></para>
189
190    <para><author>
191        <personname>Per Thomsen</personname>
192      </author></para>
193
194    <para><author>
195        <personname>James O'Gorman</personname>
196      </author></para>
197  </refsection>
198</refentry>
Note: See TracBrowser for help on using the repository browser.