Bacula

Adding a tape library to Bacula

This article was written some months go, but only published today. I recently acquired a new tape auto-changer / library. I have already run some simple tests on the library, and all seems well. I already have an existing Bacula installation and my plan is to add this new auto-changer into that. The Devices The following is a list of the devices associated with my auto-changer. The output has been trimmed to exclude […]

Adding a tape library to Bacula Read More »

svn: E170000: Unrecognized URL scheme

If you see this message when trying to svn up: then you are missing a subversion compile option. Try this command: cd /usr/ports/devel/subversion && make config Then make sure this option is checked: [X] SERF WebDAV/Delta-V (HTTP/HTTPS) repo access module Then recompile subversion with one of these two commands: portupgrade -f subversion Or portmaster subversion

svn: E170000: Unrecognized URL scheme Read More »

ezjail-jail: making a full backup of a FreeBSD jail with Bacula

I’ve been using Bacula since early 2004. I’ve been using FreeBSD since 1998. Jails are a relatively newcomer. I starting using it later in 2004. But it’s only recently that I’ve started using them intensively. Backups are always a touchy subject. With ezjail, the files you need to backup are greatly reduced. You’re not backing up the base OS, just the local files. I’ve created a fileset which seems to do the right

ezjail-jail: making a full backup of a FreeBSD jail with Bacula Read More »

Using Bacula in a jail

I use FreeBSD. I’ve used it since 1998. For me, it does good stuff, reliably, and predictably. The community is very supportive and helpful. That goes a long way when choosing your open source operating system. Included within FreeBSD, since FreeBSD 4.0 in March 2000, is a great tool for separating out services and to provide a virtualization strategy: jails. Some will argue that jails are not virtualization. I contend that it’s a

Using Bacula in a jail Read More »

Moving Bacula Volumes from one Storage to Another

A few weeks ago, I moved some Bacula Volumes from one Storage Daemon to another. In fact, I was decommissioning the old bacula-sd and creating a new one. I copied all the Volumes over. Backups have been running smoothly ever since. However. Today I tried a restore. It failed. Without any useful diagnostic information. Here is what I have: After thinking for a while, I started to wonder if this was a database

Moving Bacula Volumes from one Storage to Another Read More »

nagios check for Bacula Pool volumes

I’m thinking about a Nagios check to let me know the status of various Bacula pools. As in, how many volumes are left, versus the maximum number of volumes permitted in this pool. Here is the bconsole command I would use: And here’s the command line bit which might work: I’ll ponder this a bit longer, and decide if I really want this monitored.

nagios check for Bacula Pool volumes Read More »

Adding in the new SCSI card

I’ve been building up a new server lately. Now I’m ready to move the tape library from the old host to thew new host. As I opened the new server to insert the existing SCSI card, I discovered that I needed a new SCSI card. It just would not fit. This is the card I was using under FreeBSD 8.4: ahc0: <Adaptec 2944 Ultra SCSI adapter> port 0xa800-0xa8ff mem 0xfb7df000-0xfb7dffff irq 20 at

Adding in the new SCSI card Read More »

Compiling bacula client gives link errors

I was trying to recompile sysutils/bacula-client on a FreeBSD 8.4 jail when I encountered some perplexing link errors. It took me a while to figure it out, but with the help of some IRC conversation, we figured it out. I started off by deleting the old (quite old) port: bacula-client-5.0.3 Then I recompiled: cd /usr/ports/sysutils/bacula-client && make install clean The errors in question are: I tried recompiling a few ports, such as gettext.

Compiling bacula client gives link errors Read More »

Bacula – AfterJob: Host key verification failed

I’ve been moving services from one server to another. Manually. My Bacula server is now running in a FreeBSD jail. I just got ready to copy backups from disk to tape. But one aspect was failing: updating my statistics. After each tape job, I collect statistics on that tape, with respect to tape errors. That is done via SSH. The job error was: 05-Jun 13:52 bacula-dir JobId 132208: shell command: run AfterJob “/home/dan/bin/dlt-stats-kraken”

Bacula – AfterJob: Host key verification failed Read More »

The Bacula Tutorial jail server

One of the challenges of providing hands-on demonstrations is giving everyone their own sandbox to play in. I don’t want people to spend time on installing software. I want people to learn about the software in question, specifically Bacula. With this in mind, I’ve been building up a solution based on FreeBSD 9.1, ZFS, and jails. My solution is pretty nifty, but I don’t think it’s anything special. The key is simplicity. The

The Bacula Tutorial jail server Read More »