Bacula

quick awk trick

published on
While managing a Bacula environment, I occasionally found it useful to find savesets that were still on the Storage Node beyond the life of our retention policy. Since Bacula does not actually erase old volumes if the client next contacts the server again, they hang around and it usually requires manual intervention. find . -mtime +30d -print | xargs du | awk '{ sum += $1;count++ }END{print (sum/1024/1024),count}'

bacula framework on github

published on
I’m pretty happy with the Bacula environment I’ve created. It has gone through a few iterations, and I’ve learned a lot since I started using it a few years ago. I think its only appropriate to share the evolution of my environment with as many people as possible, and I hope it can help save new bacula administrators some time. Enough of the preamble, here is my github project page: https://github. Read More...

using couchdb with puppet and bacula

published on
On aspect that I was never happy with the Bacula environment I built while at LLNL was the fact that I could no look up certain values for each client. Values like: * Passwords * Storage Devices * Certificates (if you are using Encryption) Well, over the past few week’s I’ve been able to work around this problem by storing additional information in a CouchDB DB. It is not the ideal solution, but it is a start and I’m okay with that. Read More...

bacula in the enterprise part 2

published on
Software As mentioned many times, this is a FreeBSD based environment. Some good sysinfo output below: Operating system release: FreeBSD 8.2-RELEASE OS architecture: amd64 Kernel build dir location: /usr/obj/usr/src/sys/GENERIC Currently booted kernel: /boot/kernel/kernel Currently loaded kernel modules (kldstat(8)): zfs.ko opensolaris.ko Bootloader settings for the Director/Database node: The /boot/loader.conf has the following contents: kern.ipc.semmni=1024 kern.ipc.semmns=2048 kern.ipc.semmnu=1024 All of the storage nodes and the director are running a GENERIC kernel with very few system tweaking. Read More...

bacula in the enterprise part 1

published on
I’ve been using Bacula, the open source backup software, for over a year now. Things have been going well, and I would like to dedicate a post or two to the environment I built. Background Over a year ago, I took it upon myself to replace a single Legato Networker server with Bacula. One of our collaborators had decided to ship us (for no reason at all really, I think they were cleaning out their data center) a Sun X4200 AMD server, and two StorageTek/Sun NAS servers. Read More...