X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2FREADME;h=8ac5920f1effa5467f9af80eaac218c095a621b4;hb=eb71436b686ebc283f025a68c1f7181e6d3400f0;hp=ba488c6bd779a3ade5fd0828c21ad676648701b5;hpb=947718dc33c5ca4a0e1145a3c58222e62bd8701b;p=bacula%2Fbacula diff --git a/bacula/README b/bacula/README index ba488c6bd7..8ac5920f1e 100644 --- a/bacula/README +++ b/bacula/README @@ -1,41 +1,72 @@ -As you will note, I don't follow the standard GNU release -numbering conventions, but rather one that I started in -1970. My internal releases were 0.nn, the first release to -another user was 1.0, each modified source code release then -gets a new minor release (1.1, ...) as well as a date. Each -major change in the software -- e.g. new tape format will -have the major release number incremented. - -Your best bet for getting Bacula up and running is to read -the manual, which can be found in -/doc/html-manual, or in -/doc/bacula.pdf. +Your best bet to get Bacula compiled and running is +to read the online manual at: + http://www.bacula.org + +You will save yourself a lot of pain if you read +the manual -- it is online at the above site. Barring reading the manual, you might try the following: -CFLAGS="-g -Wall" \ - ./configure \ - --sbindir=$HOME/bacula/bin \ - --sysconfdir=$HOME/bacula/bin \ - --with-pid-dir=$HOME/bacula/bin \ - --with-subsys-dir=$HOME/bacula/bin \ - --enable-gnome \ - --with-mysql=$HOME/mysql \ - --with-working-dir=$HOME/bacula/bin/working \ - --with-dump-email=YOUR_EMAIL_ADDRESS \ - --with-job-email=YOUR_EMAIL_ADDRESS \ - --with-smtp-host=YOUR_SMTP_SERVER_ADDRESS \ - --with-baseport=9101 +To Configure it: + + CFLAGS="-g -O2" \ + ./configure \ + --sbindir=$HOME/bacula/bin \ + --sysconfdir=$HOME/bacula/bin \ + --with-pid-dir=$HOME/bacula/bin/working \ + --with-subsys-dir=$HOME/bacula/bin/working \ + --enable-smartalloc \ + --with-mysql \ + --with-working-dir=$HOME/bacula/bin/working \ + --with-dump-email=your@address.com \ + --with-job-email=your@address.com \ + --with-smtp-host=localhost -Build Bacula +Build Bacula: make - There should be no errors. The most likely source of - errors will probably come in the src/stored directory - in time.c or dev.c. There may also be problems in - lib/signal.c as I currently pull in all Linux signals, - some of which may not be available on your system. + If you are doing a port, there should be no errors. The most + likely source of errors will probably come in the src/stored + directory in time.c or dev.c. There may also be problems in + lib/signal.c as I currently pull in all Linux signals, some of + which may not be available on your system. + +To create the database: + + src/cats/make_bacula_tables + +To install: + + make install + +To start it: + + cd $HOME/bacula/bin + ./bacula start + +To start it (as a developer). This is not appropriate if you +are installing Bacula. + + ./startit + ./console (or ./gnome-console) + +To stop it: + + ./stopit + +Well, it is all just a bit more complicated than that, +but you should have the idea. + +Be sure you read the chapter about testing your tape drive! +Don't waste a lot of time setting up and running Bacula, if +your drive is not supported. + +FreeBSD users, pay special attention to the Device configuration +parameters needed to deal with FreeBSD tape drivers. + +License: +Please see the file LICENSE for the terms of the license.