On backups and the importance of testing them

I’d really like the last 18 hours of my life back.

Lesson 1) backups are only as good as your backup strategy.

Lesson 2) your backup strategy is useless if its never been tested to recover from bare metal.

Lesson 3) your ill conceived, unproven backup strategy will bite you. And it will not be for a reason that [...]

Notes on my postfix + sasldb + tls settings

There’s a great “how to” here.

Some of the key things that I always forget about my setup that haunt me later:

I’m using sasldb2 (in /etc/sasldb2 )
When using sasldb — saslauthd daemon DOES NOT RUN. The simple DB file replaces the need for it.
The realm I’m using in sasldb2 passwords is ‘mail.foobert.com’
Thus, add a password is to [...]

Network tar using SSH

Never realized how easy it is to duplicate a directory tree from one machine to another through the network without building an intermediate tarball and finding room for it and the original files all at the same time. Simply pipe the tar command through ssh and untar it on the fly.

For example, suppose we have direcotry [...]