Bacula: Robust, Reliable Enterprise Backup and Recovery, part 1
It comes by night and sucks the vital essence from your computers
If you're looking for a darned good open-source backup solution, this may be your lucky day for an interview with this data-sucking vampire. For tape backup and even disk-to-disk backup, Bacula is one of the more popular and well-maintained open source applications out there. In this first of two parts, we'll give an overview of how to get started with Bacula, look at different pieces that make up Bacula and look at setup and configuration basics. This isn't meant to be a comprehensive guide, but should give an overview for those who haven't waded through the copious and excellent online documentation for Bacula.
Basic Bacula Components and Services
The repository for all this media, file and job data is the Bacula catalog. Yes, it requires a database, and that means you will have to install and maintain either a MySQL, PostgreSQL or SQLite database to use Bacula.
Preliminaries and SQL Installation Phase I
Depending on your operating system, some preliminary steps may be necessary. If your operating system doesn't include mtx (most modern ones do) or you intend to use SQLite, the easiest thing to to is download the depkgs then create a /bacula directory where you will untar the bacula and depkgs source code. Untar depkgs into that directory and run:
make sqlite make mtx
Since MySQL seems to be the most commonly used database with Bacula, we'll zero in on installation of that particular database for now. With MySQL, be sure to get the mysql-devel and libz-devel packages to get the SQL header files Bacula requires, and the gzip compression libraries for mysqlclient. If you're installing MySQL by .rpm, you'll need the following:
mysql-.rpm mysql-server-.rpm mysql-devel-.rpm
If installing from source, untar the files, then from the directory you placed the source code in, you will run:
./configure --enable-thread-safe-client --prefix=mysql-directory
where you replace mysql-directory with the directory where you want to install mysql. Normally for system-wide use this is /usr/local/mysql. Run make and make install and finally, run:
This creates the SQL databases for controlling user access.
- Skip Ahead
- 1. It comes by night and sucks the vital essence from your computers
- 2. It comes by night and sucks the vital essence from your computers
- 3. It comes by night and sucks the vital essence from your computers