Search Results for: bacula

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 »

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 »

Upgrading to Bacula database version 14

After running the script which upgrades your Bacula database to version 14, there are a couple of fix-ups you may wish to run: alter table restoreobject owner to bacula; grant all on restoreobject_restoreobjectid_seq to bacula; grant all on restoreobject to bacula; You may or may not have to do this, depending on how you ran the upgrade script. Examine the following command output for your database: bacula=# \dt restoreobject List of relations Schema

Upgrading to Bacula database version 14 Read More »

Bacula – Removing labels, then labeling tapes

I have been using Bacula since 2004. I started off on DDS tapes, then moved to DLT. Now I’m backing up to a ZFS array and the copying to tape. About a year ago, I obtained about 200 DLT tapes from a friend. They were no longer used at his place of work. He used Bacula and had written lots of 1s and 0s to the tapes to erase them. However, they still

Bacula – Removing labels, then labeling tapes Read More »

Bacula run-after scripts

Bacula is a backup and restore solution which I’ve been using and contributing to since 2004. Recently, I started backing up to disk and then copying to tape later. This approach, combined with a scratch pool, has proven to be very low maintenance, from a sysadmin point of view. I think all sysadmin will agree: the less you have to do, the better. At this time of year, I’m away running BSDCan and

Bacula run-after scripts Read More »

Getting Bacula running on my MacBook / OSX

I recently acquired a MacBook Pro. Things are going well. I’m using Time Capsule, but I also want to use Bacula. I went with MacPorts: This article will show how I got Bacula running on OSX. sudo port install bacula +client_only NOTE: for more recent version of MacPorts, this command worked: sudo port install bacula +client_only-console_bat The install looked something like this: [dan@dent:~] $ sudo port uninstall bacula —> Deactivating bacula @5.0.3_2+client_only —>

Getting Bacula running on my MacBook / OSX Read More »

Bacula – certificates expired

The new year started off poorly for my backups, and it is all my fault. Each of my remote servers is backed up utilizing Bacula’s TLS (Transport Layer Security) features. This requires an X.509 certificate which I obtain via CACert. These certificates have expired: 01-Jan 02:00 bacula-dir JobId 44464: Start Backup JobId 44464, Job=nyi_maildir.2011-01-01_02.00.00_07 01-Jan 02:00 bacula-dir JobId 44464: Using Device “MegaFile” 01-Jan 02:00 bacula-dir JobId 44464: Error: tls.c:92 Error with certificate at

Bacula – certificates expired Read More »

Bacula Copy Job

With Bacula, a great piece of backup software [disclosure: I wrote the PostgreSQL module for Bacula], you can copy a Job after it has run. This is often used to backup first to disk, and then Copy that Job to tape. That is exactly what I’ve been doing recently. NOTE: You can also migrate a Job, which is very similar to a Job Copy. With a Job Copy, the original Job remains and

Bacula Copy Job Read More »

Running a Bacula Copy Job

Over the past few months, I’ve been getting ready to copy Bacula backups from disk to tape, via a Copy Job. Tonight was my first attempt. I failed. And I think I know why. Concurrency. The output so far: *run job=CopyMegaFileToTape Using Catalog “MyCatalog” Run Copy job JobName: CopyMegaFileToTape Bootstrap: *None* Client: wocker-fd FileSet: wocker files Pool: MegaFile-wocker (From Job resource) Read Storage: MegaFile-wocker (From Pool resource) Write Storage: DigitalTapeLibrary (From Storage from

Running a Bacula Copy Job Read More »

Scroll to Top