Sunday, December 14, 2008

Amason S3 cloud backup

I’m looking at the S3 service from amazon as a solution for backing up all data from our Plesk servers. We already have backups saved to each server using totalbackup from 4psa, and to another server. However, they are all in the same datacentre, and it wouldbe nice to have another layer of redundancy.

  1. sign up to S3
  2. get the accesskey and secretkey
  3. use a service like s3browse.com to look at your space and create a “bucket”
  4. use something like duplicity to backup the entire system

S3 uses the concept of buckets to refer to a collection of all the data that is backed up. Each bucket has a name: however, each name is unique across all users. So, the ‘testing’ bucket won’t be available for anybody else.

Installing duplicity on ubuntu and setting up the backup

sudo apt-get install duplicity python-boto

Saturday, December 13, 2008

Spamassassin upgrade (Debain etch)

I needed to install the latest version of spamassassin on one of the servers because of the bug that flags false positive results for MS Outlook (http://wiki.apache.org/spamassassin/FORGED_MUA_OUTLOOK):

apt-get install debian-backports-keyring

Edit /etc/apt/sources.list

deb http://www.backports.org/debian etch-backports main contrib non-free

Do an apt-get update

apt-get -t etch-backports install spamassassin

Confirm whether you want to keep the old config files and the latest backport will be installed. You can check that latest version of all packages using:

dpkg -l