| 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>bbackupd</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>bbackupd</refname> |
|---|
| 23 | |
|---|
| 24 | <refpurpose>Box Backup client daemon</refpurpose> |
|---|
| 25 | </refnamediv> |
|---|
| 26 | |
|---|
| 27 | <refsynopsisdiv> |
|---|
| 28 | <cmdsynopsis> |
|---|
| 29 | <command>bbackupd</command> |
|---|
| 30 | |
|---|
| 31 | <arg>-DFkqvVT</arg> |
|---|
| 32 | |
|---|
| 33 | <arg>-c config-file</arg> |
|---|
| 34 | |
|---|
| 35 | <arg>-t tag</arg> |
|---|
| 36 | </cmdsynopsis> |
|---|
| 37 | </refsynopsisdiv> |
|---|
| 38 | |
|---|
| 39 | <refsection> |
|---|
| 40 | <title>Description</title> |
|---|
| 41 | |
|---|
| 42 | <para><command>bbackupd</command> runs on client computers in the |
|---|
| 43 | background, finding new files to back up. When it is time for a backup, |
|---|
| 44 | <command>bbackupd</command> will connect to the server |
|---|
| 45 | (<command>bbstored</command>) to upload the files.</para> |
|---|
| 46 | |
|---|
| 47 | <para>A running <command>bbackupd</command> daemon can be controlled with |
|---|
| 48 | the <command>bbackupctl</command> command, to make it shut down, reload |
|---|
| 49 | its configuration, or start an immediate backup.</para> |
|---|
| 50 | |
|---|
| 51 | <para><command>bbackupd</command> needs to be configured to tell it which |
|---|
| 52 | files to back up, how often, and to which server (running |
|---|
| 53 | <command>bbstored</command>). See the Client Configuration page for more |
|---|
| 54 | information. For this, you must write a configuration file. You must |
|---|
| 55 | either place it in the default location, or tell |
|---|
| 56 | <command>bbackupd</command> where to find it.</para> |
|---|
| 57 | |
|---|
| 58 | <para>You can check the default location with the <option>-h</option> |
|---|
| 59 | option. The default on Unix systems is usually |
|---|
| 60 | <filename>/etc/box/bbackupd.conf</filename>. On Windows systems, it is |
|---|
| 61 | <filename>bbackupd.conf</filename> in the same directory where |
|---|
| 62 | <command>bbackupd.exe</command> is located. If bbackupd cannot find or |
|---|
| 63 | read the configuration file, it will log an error message and exit.</para> |
|---|
| 64 | |
|---|
| 65 | <para><command>bbackupd</command> usually writes log messages to the |
|---|
| 66 | system logs, using the facility <function>local5</function>, which you can |
|---|
| 67 | use to filter them to send them to a separate file. It can also write them |
|---|
| 68 | to the console, see options below. If <command>bbackupd</command> is not |
|---|
| 69 | doing what you expect, please check the logs first of all.</para> |
|---|
| 70 | |
|---|
| 71 | <refsection> |
|---|
| 72 | <title>Options</title> |
|---|
| 73 | |
|---|
| 74 | <variablelist> |
|---|
| 75 | <varlistentry> |
|---|
| 76 | <term><option>-c</option> config-file</term> |
|---|
| 77 | |
|---|
| 78 | <listitem> |
|---|
| 79 | <para>Use the specified configuration file. If <option>-c</option> |
|---|
| 80 | is omitted, the last argument is the configuration file. If none |
|---|
| 81 | is specified, the default is used (see above).</para> |
|---|
| 82 | </listitem> |
|---|
| 83 | </varlistentry> |
|---|
| 84 | |
|---|
| 85 | <varlistentry> |
|---|
| 86 | <term><option>-D</option></term> |
|---|
| 87 | |
|---|
| 88 | <listitem> |
|---|
| 89 | <para>Debugging mode. Do not fork into the background (do not run |
|---|
| 90 | as a daemon). Not available on Windows.</para> |
|---|
| 91 | </listitem> |
|---|
| 92 | </varlistentry> |
|---|
| 93 | |
|---|
| 94 | <varlistentry> |
|---|
| 95 | <term><option>-F</option></term> |
|---|
| 96 | |
|---|
| 97 | <listitem> |
|---|
| 98 | <para>No-fork mode. Same as <option>-D</option> for bbackupd. Not |
|---|
| 99 | available on Windows.</para> |
|---|
| 100 | </listitem> |
|---|
| 101 | </varlistentry> |
|---|
| 102 | |
|---|
| 103 | <varlistentry> |
|---|
| 104 | <term><option>-k</option></term> |
|---|
| 105 | |
|---|
| 106 | <listitem> |
|---|
| 107 | <para>Keep console open after fork, keep writing log messages to |
|---|
| 108 | it. Not available on Windows.</para> |
|---|
| 109 | </listitem> |
|---|
| 110 | </varlistentry> |
|---|
| 111 | |
|---|
| 112 | <varlistentry> |
|---|
| 113 | <term><option>-q</option></term> |
|---|
| 114 | |
|---|
| 115 | <listitem> |
|---|
| 116 | <para>Run more quietly. Reduce verbosity level by one. Available |
|---|
| 117 | levels are <varname>NOTHING</varname>, <varname>FATAL</varname>, |
|---|
| 118 | <varname>ERROR</varname>, <varname>WARNING</varname>, |
|---|
| 119 | <varname>NOTICE</varname>, <varname>INFO</varname>, |
|---|
| 120 | <varname>TRACE</varname>, <varname>EVERYTHING</varname>. Default |
|---|
| 121 | level is <varname>NOTICE</varname> in non-debugging builds. Use |
|---|
| 122 | once to drop to <varname>WARNING</varname> level, twice for |
|---|
| 123 | <varname>ERROR</varname> level, four times for no logging at |
|---|
| 124 | all.</para> |
|---|
| 125 | </listitem> |
|---|
| 126 | </varlistentry> |
|---|
| 127 | |
|---|
| 128 | <varlistentry> |
|---|
| 129 | <term>-v</term> |
|---|
| 130 | |
|---|
| 131 | <listitem> |
|---|
| 132 | <para>Run more verbosely. Increase verbosity level by one. Use |
|---|
| 133 | once to raise to <varname>INFO</varname> level, twice for |
|---|
| 134 | <varname>TRACE</varname> level, three times for |
|---|
| 135 | <varname>EVERYTHING</varname> (currently the same as |
|---|
| 136 | <varname>TRACE</varname>).</para> |
|---|
| 137 | </listitem> |
|---|
| 138 | </varlistentry> |
|---|
| 139 | |
|---|
| 140 | <varlistentry> |
|---|
| 141 | <term><option>-V</option></term> |
|---|
| 142 | |
|---|
| 143 | <listitem> |
|---|
| 144 | <para>Run at maximum verbosity (<varname>EVERYTHING</varname> |
|---|
| 145 | level).</para> |
|---|
| 146 | </listitem> |
|---|
| 147 | </varlistentry> |
|---|
| 148 | |
|---|
| 149 | <varlistentry> |
|---|
| 150 | <term><option>-t</option> tag</term> |
|---|
| 151 | |
|---|
| 152 | <listitem> |
|---|
| 153 | <para>Tag each console message with specified marker. Mainly |
|---|
| 154 | useful in testing when running multiple daemons on the same |
|---|
| 155 | console.</para> |
|---|
| 156 | </listitem> |
|---|
| 157 | </varlistentry> |
|---|
| 158 | |
|---|
| 159 | <varlistentry> |
|---|
| 160 | <term><option>-T</option></term> |
|---|
| 161 | |
|---|
| 162 | <listitem> |
|---|
| 163 | <para>Timestamp each line of console output.</para> |
|---|
| 164 | </listitem> |
|---|
| 165 | </varlistentry> |
|---|
| 166 | </variablelist> |
|---|
| 167 | </refsection> |
|---|
| 168 | </refsection> |
|---|
| 169 | |
|---|
| 170 | <refsection> |
|---|
| 171 | <title>Files</title> |
|---|
| 172 | |
|---|
| 173 | <para><filename>/etc/box/bbackupd.conf</filename></para> |
|---|
| 174 | </refsection> |
|---|
| 175 | |
|---|
| 176 | <refsection> |
|---|
| 177 | <title>See Also</title> |
|---|
| 178 | |
|---|
| 179 | <para><citerefentry> |
|---|
| 180 | <refentrytitle>bbackupd.conf</refentrytitle> |
|---|
| 181 | |
|---|
| 182 | <manvolnum>5</manvolnum> |
|---|
| 183 | </citerefentry>, <citerefentry> |
|---|
| 184 | <refentrytitle>bbackupd-config</refentrytitle> |
|---|
| 185 | |
|---|
| 186 | <manvolnum>8</manvolnum> |
|---|
| 187 | </citerefentry>, <citerefentry> |
|---|
| 188 | <refentrytitle>bbackupctl</refentrytitle> |
|---|
| 189 | |
|---|
| 190 | <manvolnum>8</manvolnum> |
|---|
| 191 | </citerefentry></para> |
|---|
| 192 | </refsection> |
|---|
| 193 | |
|---|
| 194 | <refsection> |
|---|
| 195 | <title>Authors</title> |
|---|
| 196 | |
|---|
| 197 | <para><author> |
|---|
| 198 | <personname>Ben Summers</personname> |
|---|
| 199 | </author></para> |
|---|
| 200 | |
|---|
| 201 | <para><author> |
|---|
| 202 | <personname>Per Thomsen</personname> |
|---|
| 203 | </author></para> |
|---|
| 204 | |
|---|
| 205 | <para><author> |
|---|
| 206 | <personname>James O'Gorman</personname> |
|---|
| 207 | </author></para> |
|---|
| 208 | </refsection> |
|---|
| 209 | </refentry> |
|---|