Open Source

WordPress Migration: The import

This is the fourth in a series of articles on my migration to WordPress. In this post, I’ll talk about how I exported my existing website into an XML file, which I then imported into WordPress. All this was possible because of the preparations previously described. I was fortunate in that my website already had an RSS feed. It did not contain everything needed to do an import, but it did represent a […]

WordPress Migration: The import Read More »

Idea from Kris Moore – PC-BSD

I’m sitting in the The Warden – FreeBSD and Linux Jail Management talk at EuroBSDCon 2012. He has mentioned two things, so far, that give me ideas. Evil ideas. Put each jail in a different ZFS data set – this may be useful for my jails running Bacula regression testing Schedule cron jobs to do snapshots on a regular basis – useful for snapshots, which I’m not really using at all And he’s

Idea from Kris Moore – PC-BSD Read More »

WordPress Migration: stripping out headers/footers, etc

This is the third in a series of articles on my migration to WordPress. In this post, I’ll talk about how I removed non-core material from the website before I imported it. This is vital because WordPress adds its own headers and footers, which my website already contains. The first step is to remove all that cruft before creating the input file for the RSS Importer (first used in the previous post). The

WordPress Migration: stripping out headers/footers, etc Read More »

WordPress Migration: : The first attempts

This is the second in a series of articles on my migration to WordPress. In this post, I’ll talk about why I decided to go with RSS-Importer and outline the first steps I took to get my posts into WordPress. These steps did not complete the migration. Rather, they were a proof of concept which led to other tasks to import yet more data into WordPress. In these posts, I will use the

WordPress Migration: : The first attempts Read More »

Pentabarf travel

Here is the start of a query for pulling out travel requirements for conference attendees. SELECT P.last_name, P.first_name, CPT.arrival_from, CPT.arrival_to, CPT.need_accommodation FROM conference_person_travel CPT, conference_person CP, conference C, person P WHERE CPT.need_accommodation AND CPT.conference_person_id = CP.conference_person_id AND P.person_id = CP.person_id AND CP.conference_id = C.conference_id AND C.acronym = ‘BSDCan2015’

Pentabarf travel Read More »

Importing data into WordPress

This is the first in a series of articles on my migration to WordPress. I have another diary (The FreeBSD Diary). I’ve been running it since 1998. More than once I’ve been asked why doesn’t it use some blogging package. Well, I didn’t know of anything back then, and cobbled together my own solution. The website is just static HTML, with some PHP functions to provide common headers, sidebars, footers, etc. There is

Importing data into WordPress Read More »

Destroying some unneeded ZFS snapshots

Last night, I found that I had a number of unused ZFS snapshots. I decided to destroy some of them. The first destroy locked up the system. Nagios reported everything was dead. I remotely power cycled the system. After it came back, I noticed that a scrub was in progress. This had not been initiated because of the power cycle. The scrub was a weekly automatic operation which started some hours before my

Destroying some unneeded ZFS snapshots 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 »

OK, let’s compare

OK, let’s compare the two snapshots, one taken today, the other taken on Monday. [dan@ngaio:/usr] $ sudo du -c -d 1 . Password: 4 ./.snap 62760 ./bin 37520 ./include 93068 ./lib 184 ./libdata 35384 ./libexec 75109696 ./local 37708 ./sbin 102480 ./share 1103840 ./src 250268 ./compat 376 ./games 4 ./obj 71082728 ./home 3584112 ./ports 4 ./tmp 18287800 ./websites 4 ./bacula-restores 1335104 ./FreshPorts 21599028 ./samba_mounts 58065982 ./jails 250788058 . 250788058 total [dan@ngaio:/usr] $ [dan@ngaio:/usr] $

OK, let’s compare Read More »

Scroll to Top