Bacula

Deleting old Bacula Volumes

From time to time, my Bacula – space and time website shows some old jobs that need to be copied to tape. Stuff from 100 days or more. There’s no reason to copy stuff that old to tape. It’s already been copied to tape. So why does it appear? Last night I swapped some tapes in the tape library. This morning they would have been used and recycled. I’ll bet that those tapes […]

Deleting old Bacula Volumes Read More »

Bacula: TLS Allowed CN

I wrote this some time ago, but never published it. Here we go… Bacula is a fantastic backup solution. It’s open source. It uses a database to keep track of backups. I’ve been writing recently about using ssl-admin as a certificate authority tool. Today, I started using ssl-admin for generating certificates for my backup clients. In this post, I’m using Bacula 5.2.12 and using this reference page as a guide. I started playing

Bacula: TLS Allowed CN Read More »

Bacula? Why you no mount?

From this morning: $ bconsole Connecting to Director bacula.example.org:9101 1000 OK: bacula-dir Version: 5.2.6 (21 February 2012) Enter a period to cancel a command. *mount storage=DigitalTapeLibrary slot=1 3001 OK mount requested. Specified slot ignored. Device=”DTL01″ (/dev/nsa0) And nothing mounts… But…. *mount storage=DigitalTapeLibrary slot=1 3001 OK mount requested. Specified slot ignored. Device=”DTL01″ (/dev/nsa0) Eh? OK, backups are running again… *m 14-Dec 11:39 bacula-dir JobId 114017: Recycled volume “ETU137” 14-Dec 11:39 bacula-dir JobId 114017: Using

Bacula? Why you no mount? Read More »

Hardcoding device names

This article talks about FreeBSD 8.2 and how device names might change when you add new devices to an existing system. The other day, when I was telling you about the new tape library, one of the important bits was the device names. The existing tape drive was sa0. The new one was sa1. That’s good. But today, after a system reboot, the tape drives are renumbered. Here is what I had: Today,

Hardcoding device names Read More »

Testing a tape library

As recently written, I have acquired a tape library with a 15-tape magazine. It contains a DLT-8000 tape drive which, although it is no longer state-of-the-art, is a step up from the DLT-7000 I am currently using. Today, I will try using this unit for the first time. I’ll do a simple write, try changing tapes, etc. I’ll be using my previous postings on this topic, such as one on using tape libraries

Testing a tape library Read More »

Adding a new tape library

Recently, I rearranged the bottom shelf of my rack and rotated the DEC library 90°. Then I placed a new [to me] Overland DLT MinilibraryXpress (model LXM8115). I plugged the cable from my server into the Overland unit and daisy-chained that to the DEC library. The grey cable which leads up and out of the photo leads to the server. The cable which leads slightly up and to the left and then loops

Adding a new tape library Read More »

cannot open SCSI device ‘/dev/pass11’ – Permission denied

Right after getting my SCSI cable problems fixed, I was all set to run some Bacula jobs. They immediately started failing: 27-Nov 12:59 bacula-dir JobId 112458: Start Copying JobId 112458, Job=CopyToTape-Diff.2012-11-27_12.58.05_08 27-Nov 12:59 bacula-dir JobId 112458: Using Device “DTL01” 27-Nov 12:59 kraken-sd JobId 112458: Ready to read from volume “DiffAuto-2357” on device “MegaFile” (/storage/compressed/bacula/volumes). 27-Nov 12:59 kraken-sd JobId 112458: 3301 Issuing autochanger “loaded? drive 0” command. 27-Nov 12:59 kraken-sd JobId 112458: 3991 Bad

cannot open SCSI device ‘/dev/pass11’ – Permission denied Read More »

It was the SCSI cable

Last night I powered on my DEC tape library. I had forgotten to power it on earlier in the week after a maintenance session. Backups to tape were queueing up. Bits needed to be moved. Queues needed to be emptied. I powered on. I ran camcontrol rescan followed by camcontrol devlist. The tape library was not showing up. Did I manage to kill it? Did I unseat the SCSI card? After removing the

It was the SCSI cable Read More »

Bacula volumes – running low on disk space

I have been using Bacula since early 2004. That’s nearly 9 years of great backups. Back in early 2010, I set up a multi-terabyte system in my basement with commodity hardware. Today, after about 18 months of backups, it’s starting to fill up. Now is the time to start restricting the creation of new Volumes in order to force the recycling of older expired (but still on disk) Volumes. NOTE: actually, I did

Bacula volumes – running low on disk space Read More »

Scroll to Top