Total server migration

jcricket

New member
Joined
May 30, 2008
Messages
1
I do some sub-contracting for a small company. Their OS was corrupted over the weekend and they had their host do an OS reload. So I'm sitting here with a fresh install of DA, no backups, and the old drive with the task of moving the 15 or so sites over with all their emails and settings intact. I'm not a linux noob and could probably get this set up w/o DA, but getting everything restored with DA is not something I know how to do.

Basically, I am asking if this is really going to be possible within any reasonable amount of time, and if so, are there any existing tools/guides to help me begin this task?

I really appreciate any responses as I am at a bit of a loss :confused:

Uph...
 
1. Install absolutely the same versions of Apache, MySQL, php to a new server. It is possible by copying /usr/local/directadmin/custombuild/options.conf to the new server and running ./build all (if you used custombuild).
2. Move /home/, /var/lib/mysql/, /etc/passwd, /etc/shadow, /usr/local/directadmin/conf, /usr/local/directadmin/data/, /etc/httpd/, /etc/virtual/, /etc/my.cnf, /etc/exim.conf, /var/mail, /var/spool/cron/, /var/spool/exim, /etc/crontab. That looks like all.
 
The "System Backup" can be used, but requires a manual restore by an administrator who knows what s/he is doing. It's probably not the best way to go, especially if you're changing anything on the target serer.

Probably the best way to do a migration is to buld the new system, install all the software and features to either match or exceed what you need/use on the old system, and then use Admin Backup/Transfer. This way you can switch between version numbers and even OS distributions.

Note that if you switch between versions of MySQL, PHP, Apache, etc., you could have problems with some of your sites on the new server, but it's still the easiest way to go.

Jeff
 
Back
Top