Postchristmas update

So much to report, so little time. It’s been a while since my last decent post, but don’t worry…everything is fine, although I tend to not find the time to post in recent days. So, what else is new?

The new server

This blog along with some other sites is still hosted by dreamhost, but sites are being moved to my new dedicated server piece by piece. As mentioned in my Nov 25th roundup I just had to get myself a new dedicated server as the low-end AMD Sempron just didn’t cut it, especially due to the “low bandwidth deal” I had on that server (“only” 200GB). So I ordered an Opteron beast, but they couldn’t deliver it right away so I was stuck. After a lot of haggling with the technical support I got an interim server (AMD Athlon 64) free of charge until my real server would be ready. Happy news: the server was finally shipped and installed in the ISP’s datacenter on December 24th…! It took me a while to set it up with all the domains, DNS, mail accounts, etc etc but I got the job done.

Tech Specs:

  • AMD Opteron 146, 64bit server cpu
  • 1GB Ram
  • 2x160GB
  • unlimited traffic! (as this is with one of germany’s leading hosters this is a real deal, although unlimited should really be called unmetered as there’s no such thing as unlimited, it’s 100MBit NIC max data rate * days in a given month)
  • 160GB backup space in another data center

I’m running the box on Suse Linux 9.3 with Plesk 7.5 Reloaded, which is really comfortable especially due to the preinstalled Plesk modules (Courier IMAP, both Antivirus + Antispam solution, etc). I tweaked the linux install a little – now I’ve got stuff like apt-get known from debian for easy updating and installing of packages.

As I plan to migrate all the stuff over from all the different hosters one of the first things I thought about was data security – or in other words: BACKUP! So I thought a while of how to accomplish what I really wanted: daily backups of all the home shares, mail accounts, databases and configuration files. I came up with a shell script which will run once every night and which will backup all the stuff, zip it and move it to both the second hdd and the remote backup location (in another data center) automatically via cronjob. This way I’ve got daily backups which will be valid for one week, then they will be overwritten…

Here’s the code:






mkdir -p /backup/mysql

WOTAG=`date +%a`

rsync -az –delete –delete-after /home /backup

rsync -az –delete –delete-after /etc /backup

rsync -az –delete –delete-after /var/qmail/mailnames /backup

rsync -az –delete –delete-after /var/www/vhosts /backup

cd /backup/mysql

mysqldump -AaCceQ -u$MYUSER -p$MYPASS -r mysql.dbs

cd /backup

tar cjf etc_dirs.$WOTAG.tar.bz2 etc

tar cjf homedirs.$WOTAG.tar.bz2 home

tar cjf maildirs.$WOTAG.tar.bz2 mailnames

tar cjf vhosts.$WOTAG.tar.bz2 vhosts

tar cjf mysqldbs.$WOTAG.tar.bz2 mysql

cp *.bz2 /mnt/zweite/backup

ftp -u ftp://$FUSER:$FPASS@remoteDataCenterLocation *$WOTAG*


As you may have noticed there’s this whole network bar thing at the top of this blog and at the top of all the other sites which I own…I had the idea to put them all together under “one roof” by creating this network, the network bar and the corresponding website. Today I finally finished the Ingoalnetwork Webpage(s) –, – as you may have guessed the .de site is the german version and the .com site is the english version. Both are coded in valid xhtml transitional. I’m especially proud of the lovely AJAX enhanced contact form.
WordPress 2.0
I backed up everything here at Ingoal’s Insight this afternoon, so I’ll continue and upgrade as soon as I’ve finished this post. On another note: I’ve already done two upgrades today and both went really smoothly, so I don’t expect any complications…Update: done, no problems

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.