Changeset 2094 for box/trunk/documentation/adminguide.xml
- Timestamp:
- 27/02/2008 18:50:44 (4 years ago)
- File:
-
- 1 edited
-
box/trunk/documentation/adminguide.xml (modified) (21 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/documentation/adminguide.xml
r1871 r2094 97 97 chown _bbstored /tmp/boxbackupRepository/ # Change the owner to the new boxbackup daemon user 98 98 99 /usr/local/ bin/raidfile-config /etc/box/ 1024 /tmp/boxbackupRepository99 /usr/local/sbin/raidfile-config /etc/box/ 1024 /tmp/boxbackupRepository 100 100 101 101 #substitute 1024 with the desired blocksize 102 102 #substitute /tmp/boxbackupRepository with a directory that exists where you want the backup store located 103 #/usr/local/ bin/raidfile-config --help shows you the options</programlisting>103 #/usr/local/sbin/raidfile-config --help shows you the options</programlisting> 104 104 105 105 <para>Then create the configuration file /etc/box/bbstored.conf The … … 112 112 <filename>/etc/box/bbstored.conf</filename> file.</para> 113 113 114 <programlisting>/usr/local/ bin/bbstored-config /etc/box hostname _bbstored</programlisting>114 <programlisting>/usr/local/sbin/bbstored-config /etc/box hostname _bbstored</programlisting> 115 115 116 116 <para>This last step outputs 5 instructions that you must execute to … … 165 165 <para>To setup the basic key structure, do the following:</para> 166 166 167 <programlisting>/usr/local/ bin/bbstored-certs ca init</programlisting>167 <programlisting>/usr/local/sbin/bbstored-certs ca init</programlisting> 168 168 169 169 <para>(See <ulink url="instguide.xml">OpenSSL notes</ulink> if you … … 182 182 do:</para> 183 183 184 <programlisting>/usr/local/ bin/bbstored-certs ca sign-server hostname-csr.pem</programlisting>184 <programlisting>/usr/local/sbin/bbstored-certs ca sign-server hostname-csr.pem</programlisting> 185 185 186 186 <para>This signs the certificate for the server. Follow the … … 200 200 create the account with:</para> 201 201 202 <programlisting>/usr/local/ bin/bbstoreaccounts create 75AB23C 0 4096M 4505M</programlisting>202 <programlisting>/usr/local/sbin/bbstoreaccounts create 75AB23C 0 4096M 4505M</programlisting> 203 203 204 204 <para>This looks complicated. The numbers are, in order:</para> … … 262 262 <para>Sign this CSR with this command:</para> 263 263 264 <programlisting>/usr/local/ bin/bbstored-certs ca sign 75AB23C-csr.pem</programlisting>264 <programlisting>/usr/local/sbin/bbstored-certs ca sign 75AB23C-csr.pem</programlisting> 265 265 266 266 <para>Don't forget to check that the embedded account number is … … 346 346 request.</para> 347 347 348 <programlisting>/usr/local/ bin/bbackupd-config /etc/box lazy <emphasis348 <programlisting>/usr/local/sbin/bbackupd-config /etc/box lazy <emphasis 349 349 role="bold">999 hostname</emphasis> /var/bbackupd <emphasis 350 350 role="bold">/home</emphasis></programlisting> … … 408 408 409 409 <para>You can then run the daemon (as root) by running 410 <command>/usr/local/ bin/bbackupd</command>, and of course, adding it410 <command>/usr/local/sbin/bbackupd</command>, and of course, adding it 411 411 to your system's startup scripts. The first time it's run it will 412 412 upload everything. Interrupting it and restarting it will only … … 518 518 </important> 519 519 520 <programlisting>/usr/local/ bin/bbackupd-config /etc/box lazy 51 server.example.com /var/bbackupd /home /etc/samba520 <programlisting>/usr/local/sbin/bbackupd-config /etc/box lazy 51 server.example.com /var/bbackupd /home /etc/samba 521 521 522 522 Setup bbackupd config utility. … … 580 580 581 581 6) Start the backup daemon with the command 582 /usr/local/ bin/bbackupd582 /usr/local/sbin/bbackupd 583 583 in /etc/rc.local, or your local equivalent. 584 584 Note that bbackupd must run as root. … … 1305 1305 <para>The command line syntax is:</para> 1306 1306 1307 <programlisting>/usr/local/ bin/bbackupctl [-q] [-c config-file] command</programlisting>1307 <programlisting>/usr/local/sbin/bbackupctl [-q] [-c config-file] command</programlisting> 1308 1308 1309 1309 <para>The -q option reduces the amount of output the program emits, … … 1359 1359 mode, and then run the following command as a cron job.</para> 1360 1360 1361 <programlisting>/usr/local/ bin/bbackupctl -q sync</programlisting>1361 <programlisting>/usr/local/sbin/bbackupctl -q sync</programlisting> 1362 1362 1363 1363 <para>This will cause the backup daemon to upload all changed files … … 1377 1377 or type:</para> 1378 1378 1379 <programlisting>/usr/local/ bin/bbackupquery -q usage quit</programlisting>1379 <programlisting>/usr/local/sbin/bbackupquery -q usage quit</programlisting> 1380 1380 1381 1381 <para>to show the space used as a single command.</para> … … 1389 1389 use:</para> 1390 1390 1391 <programlisting>/usr/local/ bin/bbstoreaccounts info 75AB23C</programlisting>1391 <programlisting>/usr/local/sbin/bbstoreaccounts info 75AB23C</programlisting> 1392 1392 1393 1393 <para>To adjust the soft and hard limits on an account, use:</para> 1394 1394 1395 <programlisting>/usr/local/ bin/bbstoreaccounts setlimit 75AB23C new-soft-limit new-hard-limit</programlisting>1395 <programlisting>/usr/local/sbin/bbstoreaccounts setlimit 75AB23C new-soft-limit new-hard-limit</programlisting> 1396 1396 1397 1397 <para>You do not need to restart the server.</para> … … 1539 1539 follows:</para> 1540 1540 1541 <programlisting>/usr/local/ bin/bbackupquery "compare -a" quit</programlisting>1541 <programlisting>/usr/local/sbin/bbackupquery "compare -a" quit</programlisting> 1542 1542 1543 1543 <para>This command will report all the differences found between the … … 1562 1562 file checksums and compares against that, then run:</para> 1563 1563 1564 <programlisting>/usr/local/ bin/bbackupquery "compare -aq" quit</programlisting>1564 <programlisting>/usr/local/sbin/bbackupquery "compare -aq" quit</programlisting> 1565 1565 1566 1566 <para>However, this does not check that the file attributes are … … 1596 1596 <para>Type:</para> 1597 1597 1598 <programlisting>/usr/local/ bin/bbackupquery</programlisting>1598 <programlisting>/usr/local/sbin/bbackupquery</programlisting> 1599 1599 1600 1600 <para>to run it in interactive mode.</para> … … 1629 1629 similar manner to a command line sftp client.</para> 1630 1630 1631 <programlisting>/usr/local/ bin/bbackupquery</programlisting>1631 <programlisting>/usr/local/sbin/bbackupquery</programlisting> 1632 1632 1633 1633 <para>Then navigate to the directory containing the file you want, … … 1745 1745 reports.</para> 1746 1746 1747 <programlisting>/usr/local/ bin/bbstoreaccounts check 1234</programlisting>1747 <programlisting>/usr/local/sbin/bbstoreaccounts check 1234</programlisting> 1748 1748 1749 1749 <para>This will take some time, and use a fair bit of memory (about 16 … … 1752 1752 flag:</para> 1753 1753 1754 <programlisting>/usr/local/ bin/bbstoreaccounts check 1234 fix</programlisting>1754 <programlisting>/usr/local/sbin/bbstoreaccounts check 1234 fix</programlisting> 1755 1755 1756 1756 <para>This will fix any errors, and remove unrecoverable files. … … 1842 1842 example</para> 1843 1843 1844 <programlisting>/usr/local/ bin/bbstored /some/other/dir/bbstored.config /usr/local/bin/bbackupquery -c /some/other/dir/bbackupd.config</programlisting>1844 <programlisting>/usr/local/sbin/bbstored /some/other/dir/bbstored.config /usr/local/sbin/bbackupquery -c /some/other/dir/bbackupd.config</programlisting> 1845 1845 1846 1846 <para>(daemons specify the name as the first argument, utility
Note: See TracChangeset
for help on using the changeset viewer.
