Consolodating 2 directadmin servers to just 1 new server? Advice needed

roly

Verified User
Joined
Nov 9, 2006
Messages
196
Hi

i have 2 servers running directadmin and i'm going to be moving all the sites from both servers to just 1 new much higher spec server also running directadmin. my trouble is that the reseller names on server 1 and server 2 are identical. e.g. admin2, admin3 etc.

has anyone got any suggestions for the easiest way of moving all my sites and preferably some of the settings with my suplicate reseller names?

i've not done a directadmin server move before let alone combining 2 servers into 1 so any advice appreciated.

thanks in advance

roland
 
well, if those reseller have the same owner and you want merge them so the problem doesnt exist.

much more important is check if both server use same php mysql apache... i mean... if one of your server use php4 and one php5 what you gonna install on the new one?

I did this merge of 2 server into 1 powerful one 2 month ago and i worked very nice without any error.

Regards
 
Thanks guys for the advice

yes both servers are currently running almost exactly same config, certainly the main apache/php/mysql etc is and i'm the user for all sites on both servers. I just thought i had better check if there was anything i should be doing that wasn't obvious. now comes the hard work of changing the dns on 100's of domains!

thanks again

roland
 
well in admin backup when you resume you can change the IP on resume process all automatic.

Just check step2 on resume function, he say if you wanna keep the ip in the backup or change it with the ip of the server (and let you choose which ip from all avaibles).

Regards
 
well in admin backup when you resume you can change the IP on resume process all automatic.

Just check step2 on resume function, he say if you wanna keep the ip in the backup or change it with the ip of the server (and let you choose which ip from all avaibles).

Regards

sounds good thank you!
 
hi guys

just a little clarification required, i've transfered over the first server admin and 9 user accounts (admin2, admin3, admin4 etc) i now want to transfer the second server that has an admin account and another 9 users. how do i go about renaming these accounts - which have the caxt naming as the first server - before transfering them? i don't want to merger admin from the first server with admin from the second server for example i want to make admin from the second server admin11 on the new box and admin2 from second server admin12 on new box.

anyone got any ideas how i can rename these and add these as new users with new names on the new server include the admin account?
 
Last edited:
mmmh i think you need to rename users in old server then backup the users and transfer

the script should be this

>./move_domain.sh
Move Domain to User - v. 0.2

Usage:
./move_domain.sh <domain> <olduser> <newuser>
you gave #0: ./move_domain.sh

and is present in /usr/local/directadmin/scripts/

Regards
 
@roly

Re-name backups from old server:

from username.tar.gz to username2.tar.gz

And restored user will be named according to your backups file name.
 
@SeLLeRoNe

thanks for the advice

@zEitEr

wow how simple what a great idea, thanks!
 
@roly

Re-name backups from old server:

from username.tar.gz to username2.tar.gz

And restored user will be named according to your backups file name.

just done this and it works, thanks for the advice.
 
Back
Top