Open Source

Installing ezjail 3.3 on FreeBSD 9.2 using ZFS

Today I will be installing ezjail 3.3 on a FreeBSD 9.2 system. I will give an overview of the installation and go straight to the configuration of the first jail. As I type this, I’m looking back at my old notes from 2008. Installation I installed ezjail with this command: pkg install ezjail Configuration Enable […]

Installing ezjail 3.3 on FreeBSD 9.2 using ZFS Read More »

Older versions of Bacula – copy/migrate has limit of 99 jobs

Last night I started to catch up on copying jobs from disk to tape. There were about 420 incremental jobs waiting. I started my CopyToTape-Inc job, and it queued up 417 jobs: The next morning, all jobs had completed, but there were still jobs left to be copied over (as determined by my magical Bacula

Older versions of Bacula – copy/migrate has limit of 99 jobs Read More »

Bacula btape test of Compaq Storage Works MSL5026 Library

This output is a Bacula btape test of the library mentioned in this post. $ sudo btape -c /usr/local/etc/bacula/bacula-sd.conf /dev/nsa0 Tape block granularity is 1024 bytes. btape: butil.c:290 Using device: “/dev/nsa0” for writing. btape: btape.c:477 open device “DTL03” (/dev/nsa0): OK *test === Write, rewind, and re-read test === I’m going to write 10000 records and

Bacula btape test of Compaq Storage Works MSL5026 Library Read More »

daily run output not parsing smartd output correctly

I’ve noticed that the smartd output has changed. It’s not parsing the results correctly. Security check: (output mailed separately) Checking for denied zone transfers (AXFR and IXFR): Scrubbing of zfs pools: skipping scrubbing of pool ‘system’: last scrubbing is 3 days ago, threshold is set to 7 days Backing up pkgng database: SMART status: Checking

daily run output not parsing smartd output correctly Read More »

Bacula: indexing on media.lastwritten

I wrote this nearly a year ago, but did not publish it then. Tonight I found this query running, so I tried an explain analyse on it: That’s 10 seconds. Add an index: bacula=# create index media_lastwritten_idx on media(lastwritten); CREATE INDEX Run the query again: Forgive my math, but that’s over 10,000 times faster now.

Bacula: indexing on media.lastwritten Read More »

Script for listing the latest ZFS snapshot – starting place for Bacula backups

This post has it all: backups deduplication snapshots ZFS Bacula ezjail Backups are essential for proper sanity, or at least, a reasonable facsimile. I strongly believe that doing backups right is the only way to backup. Go big or go home. I’ve been converting all my servers to ZFS. I like ZFS for many reasons,

Script for listing the latest ZFS snapshot – starting place for Bacula backups Read More »

Scroll to Top