]> git.sur5r.net Git - bacula/bacula/blob - bacula/README
Updates for debugging disk seek
[bacula/bacula] / bacula / README
1
2 Your best bet to get Bacula compiled and running is
3 to read the online manual at:
4
5   http://www.bacula.org
6
7 Barring reading the manual, you might try the
8 following:
9
10 To Configure it:
11
12   ./configure \
13     --sbindir=$HOME/bacula/bin \
14     --sysconfdir=$HOME/bacula/bin \
15     --with-pid-dir=$HOME/bacula/bin \
16     --with-subsys-dir=$HOME/bacula/bin \
17     --with-sqlite=$HOME/depkgs/sqlite \
18     --enable-gnome \
19     --with-mysql=$HOME/mysql \
20     --with-working-dir=$HOME/bacula/bin/working \
21     --with-dump-email=YOUR_EMAIL_ADDRESS \
22     --with-job-email=YOUR_EMAIL_ADDRESS \
23     --with-smtp-host=YOUR_SMTP_SERVER_ADDRESS
24
25 If you want to use SQLite, please download depkgs and
26 build sqlite, then add something like:
27
28     --with-sqlite=$HOME/depkgs/sqlite
29
30
31 Build Bacula:
32
33    make
34
35    If you are doing a port, there should be no errors.  The most
36    likely source of errors will probably come in the src/stored
37    directory in time.c or dev.c.  There may also be problems in
38    lib/signal.c as I currently pull in all Linux signals, some of
39    which may not be available on your system.
40
41 To create the database:
42
43    src/cats/make_bacula_tables
44
45 To install:
46
47    make install
48
49 To start it:
50
51    cd $HOME/bacula/bin
52    ./bacula start
53
54 To start it (as a developer). This is not appropriate if you
55 are installing Bacula.
56
57    ./startit
58    ./console (or ./gnome-console)
59
60 To stop it:
61
62   ./stopit
63
64 Well, it is all just a bit more complicated than that,
65 but you should have the idea.
66
67 Be sure you read the chapter about testing your tape drive!
68 Don't waste a lot of time setting up and running Bacula, if
69 your drive is not supported.
70
71 FreeBSD users, pay special attention to the Device configuration
72 parameters needed to deal with FreeBSD tape drivers.
73
74 License:
75 Please see the file LICENSE for the terms of the license.