]> git.sur5r.net Git - bacula/bacula/blob - bacula/README
Restore win32 dir from Branch-5.2 and update it
[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 You will save yourself a lot of pain if you read
8 the manual -- it is online at the above site.
9 Barring reading the manual, you might try the
10 following:
11
12 To Configure it:
13
14         CFLAGS="-g -O2" \
15           ./configure \
16             --sbindir=$HOME/bacula/bin \
17             --sysconfdir=$HOME/bacula/bin \
18             --with-pid-dir=$HOME/bacula/bin/working \
19             --with-subsys-dir=$HOME/bacula/bin/working \
20             --enable-smartalloc \
21             --with-mysql \
22             --with-working-dir=$HOME/bacula/bin/working \
23             --with-dump-email=your@address.com \
24             --with-job-email=your@address.com \
25             --with-smtp-host=localhost
26
27
28 Build Bacula:
29
30    make
31
32    If you are doing a port, there should be no errors.  The most
33    likely source of errors will probably come in the src/stored
34    directory in time.c or dev.c.  There may also be problems in
35    lib/signal.c as I currently pull in all Linux signals, some of
36    which may not be available on your system.
37
38 To create the database:
39
40    src/cats/make_bacula_tables
41
42 To install:
43
44    make install
45
46 To start it:
47
48    cd $HOME/bacula/bin
49    ./bacula start
50
51 To start it (as a developer). This is not appropriate if you
52 are installing Bacula.
53
54    ./bacula start
55    ./console
56
57 To stop it:
58
59   ./bacula stop
60
61 Well, it is all just a bit more complicated than that,
62 but you should have the idea.
63
64 Be sure you read the chapter about testing your tape drive!
65 Don't waste a lot of time setting up and running Bacula, if
66 your drive is not supported.
67
68 FreeBSD users, pay special attention to the Device configuration
69 parameters needed to deal with FreeBSD tape drivers.
70
71 License:
72 Please see the file LICENSE for the terms of the license.