Search Results for: bacula

WordPress Migration: redirecting old URLs

This is the sixth in a series of articles on my migration to WordPress. In this post, I’ll talk about how I enabled the old URLs. This is important only if you want the ‘old’ content to be found. This is especially important if your website is well established. People will have links to your website from their websites. Search engines have results which need to continue to be valid. Myself? I know […]

WordPress Migration: redirecting old URLs 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 »

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 »

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 »

What’s using up /usr?

It seems the /usr partition on my dev box is filling up. But I’m not sure what is eating up the space. So let’s take a snapshot of the space and compare it later. [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

What’s using up /usr? Read More »

jail: execv: /bin/sh: No such file or directory

Recently, I was moving some jails from one server to another. First, I created the jail using the -x switch, which indicates the jail already exists, don’t create it, just add entries for it: # ezjail-admin create -f bacula -x mysql41.example.org 10.35.0.100 Warning: Some services already seem to be listening on IP 10.35.0.100 This may cause some confusion, here they are: root ntpd 63822 25 udp4 10.35.0.100:123 *:* Warning: Some services already seem

jail: execv: /bin/sh: No such file or directory Read More »

When is a cleaning tape needed?

As part of my magical Bacula website, I wanted to know when my tape drive required a cleaning tape. It appears that smartctl will reveal this information: [dan@kraken:/usr/home/dan] $ sudo /usr/local/sbin/in/smartctl -d scsi -x /dev/nsa0 Password: smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.2-STABLE amd64] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net Device: DEC TZ89 (C) DEC Version: 2561 Serial number: CXA02S1766 Device type: tape Local Time is: Tue Jun 21 00:22:26 2011

When is a cleaning tape needed? Read More »

ZFS details – just in case

I use a ZFS array for backups. The data is first copied to this array, and later copied to tape. This post contains some information which might be useful should I need to replace one of the drives in the array. We have 10 HDD in this system. Two are used in a gmirror for the base OS: ada8 ada9 Seven are active in an array: ada0 ada2 ada3 ada4 ada5 ada6 ada07

ZFS details – just in case Read More »

Differential backup didn’t use scratch pool

Today is the first Sunday since I started using a scratch pool with Bacula. I was disappointed to see an email asking for a tape to be mounted. Why? With four tapes in the scratch pool, I shouldn’t be asked for a tape. Something is wrong. But there is no directive on a pool to say use the scratch pool. Bacula just uses the scratch pool if one is defined. However, I checked

Differential backup didn’t use scratch pool Read More »

Scroll to Top