I’m currently migrating from Linode to DotBlock (have been with Linode for over a year and I’m happy with them but the deal that DotBlock provided was unbeatable, here’s to hoping that it wasn’t a bad mistake). Anyway, one of the main things that I needed to do was to migrate the data from one system to the other. My favourite Tarball method kept failing so I decided to simply backup the mysql database hosted on the site and use rsync to do the heavy lifting.
rsync -arvpzH --numeric-ids --exclude=/dev --exclude=/proc --exclude=/tmp --exclude=/virtualdisk --exclude=/sys -e ssh root@hypnotoad.minigeek.org:/ /mythtv/backup/hypnotoad.20120521/
I have also migrated all of the DNS entries to Route53 (Amazon service), I will post the migration route for that shortly if I can find it again.
My preferred tarball method (called from the backup server, not the prod box)
ssh root@hyperchicken.minigeek.org "tar cvzp - --one-file-system --exclude=/tmp/* --exclude=/upload/* /" > hypnotoad_wo_home.tgz