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
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: RHEL 6.5, Debian 7.2 and EOL for Linux 3.0.x
- 5Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10