View Full Version : How to best transfer clients from old DA server to new DA server
Shelliak
07-11-2004, 07:46 AM
All,
Some advise would be graet.
We have 2 DA servers not running Stable. We want to move all accounts, to 2 newly installed server (400+domains), hoping that that one will run more stable.
Should we migrate account by account? Migrate all at once?
Is there a how to or a best practice somewhere that can help us?
Any issues we should be taking extra care with?
Kind regards,
Yasar
thuskey
07-11-2004, 10:07 AM
Granted I'm only a newbie with DA, but being a long time linux professional, I would suggest the following (as root):
from /
tar -cf mail.tar /var/spool/virtual/
tar -cf home.tar /home/
tar -cf settings.tar /etc/virtual/
tar -cf DAdata.tar /usr/local/directadmin/data/
then scp them to the new server (or transfer via ftp binary mode)
then from / on the new server
tar -xf mail.tar
tar -xf home.tar
tar -xf settings.tar
tar -xf DAdata.tar
That should be everything DA related on the old server
DirectAdmin Support
01-20-2005, 10:43 AM
Hello,
You'll also need to copy the actual account names over from the /etc/passwd, /etc/shadow, /etc/groups etc.. or else you'll end up with nameless ownershp of files.
Also.. it would be missing many conf files that are in /etc .. and all the named info.
http://www.directadmin.com/paths.html
John
nobaloney
01-20-2005, 08:54 PM
I'd use the Sysbk backup feature built into the admin level of DA to create the tar files, then carefully restore them on the new server.
Jeff
grumpy424
01-22-2005, 01:57 PM
Hi,
What my colleague (Shelliak) forgot to mention is that we run RedHat Linux on the old servers and FreeBSD on the new servers. Because of the differences in the password files (/etc/passwd and /etc/shadow vs /etc/passwd and /etc/master.passwd) and the slightly different directory layout of DA for FreeBSD the migration gets a bit more complicated. Is there anone who succesfuly migrated a DA server from Linux to FreeBSD?
Regards,
Marcel
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.