Open Source

Upgrading Pentabarf

Pentabarf is the conference tool used by BSDCan and PGCON. I upgraded it recently and ran into trouble. I think that has been resolved now. Since I last upgraded Pentabarf, it went from using svn to using git. Thus, you need a clean checkout of Pentabarf. I copied away the original source before I did this: git clone git://github.com/nevs/pentabarf.git Then I copied over my existing configuration files: rails/config/*.yml files Then I ran a […]

Upgrading Pentabarf Read More »

Faster backups

Backups come in three flavors: Full – backup everything Differential – backup everything since the last Full backup Incremental – backup everything since the last backup (Full or Incremental) I took the above from What Is Bacula? Most systems use mtime to determine if a file has changed. Thus, any file that has been modified since the last backup will be picked up in the next incremental or differential backup. Full backups are

Faster backups Read More »

Migrating some Bacula jobs

I noticed that one of our disk-based Volumes used a label name similar to that of our tape-based Volumes. To avoid confusion, I will rename that Volume. But, renaming a Volume is not simple, nor recommended if the Volume contains data. It is better to migrate the data instead. The Volume in question has MediaId = 42 (seriously!): | 42 | PEQ574L4 | Append | 1 | 4,144,705,431 | 0 | 31,536,000 |

Migrating some Bacula jobs Read More »

Bacula – moving File storage

I noticed today that the Bacula installation was still using the default File Storage location of /tmp. That is adequate for testing, but we should move it elsewhere. The safest approach to making this change is: stop bacula-sd copy the files to the new location rename the old location amend bacula-sd.conf restart bacula-sd test After you have confirmed everything is OK, you can remove the old location.

Bacula – moving File storage Read More »

What jobs are on these tapes?

I use Bacula. To be clear, I wrote part of Bacula (the PostgreSQL part). Today I need to find out what jobs are on each of three tapes. Why? I just happened to cancel a 1.5TB job a few hours before it was to finish. By this time it had written to three tapes. I am guessing that the last two tapes can be reused. I’m also guessing that the first one cannot

What jobs are on these tapes? Read More »

LANG prevents PostgreSQL initdb

I was looking at RackMonkey and RackTables today. As part of the latter, I was installing PostgreSQL on my FreeBSD workstation. I failed. This had worked many times before, on many other servers. This was the first time I’d seen this particular situation. # /usr/local/etc/rc.d/postgresql initdb The files belonging to this database system will be owned by user “pgsql”. This user must also own the server process. The database cluster will be initialized

LANG prevents PostgreSQL initdb Read More »

qemu – running emulation

I managed to get CENTOS5 booting today. In a virtual machine on my FreeBSD workstation. This post is mainly just notes for myself. Create the blank HDD image file on my host OS: qemu-img create -f qcow2 c.img 3G Installing the new guest OS, by booting from the ISO image which appears as a CDROM: qemu -cdrom CentOS-5.2-i386-bin-DVD.iso.iso -hda c.img -m 256 -boot d Setting up the bridging between the guest and the

qemu – running emulation Read More »

PGCon 2009 Schedule released

The preliminary PGCon 2009 schedule has been released. PGCon is the premiere PostgreSQL conference. It is simply the best place to meet other PostgreSQL people and learn more. The talks are absolutely amazing, not to mention the great social atmosphere. If you’re looking to hire any PostgreSQL talent, PGCon is the place to be. You’ll find more PostgreSQL people (DBAs, coders, web developers, core contributers) than at any other conference. If you’re looking

PGCon 2009 Schedule released Read More »

Moving my PGP from Windows to KDE

I found my old PGP key today. I haven’t used it in quite some time. But there it was, on my Windows machine: secring.skr I use Thunderbird on FreeBSD, under KDE. I see I need to install mail/enigmail if I want to use PGP (well, the GnuPG implementation of PGP). This appears to be my slippery slope. First, I encountered this: [dan@laptop:/usr/ports/mail/enigmail] $ sudo make install clean Password: => enigmail-0.93.0.tar.gz doesn’t seem to

Moving my PGP from Windows to KDE Read More »

Scroll to Top