Developing Bacula
Typically the simplest way to develop Bacula is to open one xterm
window pointing to the source directory you wish to update; a second
xterm
window at the top source directory level, and a third xterm
window at the bacula directory <top>/src/bacula
. After making source
changes in one of the directories, in the top source directory
xterm
, build the source, and start the daemons by entering:
make
and
./startit
then in the enter:
./console
or
./gnome-console
to start the Console program. Enter any commands for testing. For
example: run kernsverify full
.
Note, the instructions here to use ./startit
are different from
using a production system where the administrator starts Bacula by
entering ./bacula start
. This difference allows a development
version of Bacula to be run on a computer at the same time that a
production system is running. The ./startit
script starts Bacula
using a different set of configuration files, and thus permits avoiding
conflicts with any production system.
To make additional source changes, exit from the Console program, and in the top source directory, stop the daemons by entering:
./stopit
then repeat the process.
Possible Next Steps
Go to Debugging.
Go back to Developer Notes.
Go back to Developer Guide.