Current time: 05-16-2024, 06:08 AM Hello There, Guest! (LoginRegister)


Post Reply 
Moving user accounts between servers
Author Message
GaRCieLD Offline
Junior Member
*

Posts: 15
Joined: Jun 2007
Reputation: 0
Post: #10
RE: Moving user accounts between servers
I use this method to move users from one server to other...

a) Insert the new domains & mail users & ftp users & db in the new ispcp server (yes...no migration script yet... Sad so make it hand-made...or try to make the script...maybe the vhcs2ispcp with some modifications...)

b) copy the htdocs with rsync from the new server (apt-get install rsync if not found)

Code:
rsync -raz IP_ORIGINAL_SRV:/var/www/virtual/DOMAIN_NAME/htdocs/ /var/www/virtual/DOMAIN_NAME/htdocs/

c) copy the mails with imapsync (apt-get install imapsync if not found)

Code:
imapsync --host1 IP_ORIGINAL_SRV --user1 NAME@DOMAIN_NAME --password1 FROM_DB --host2 IP_NEW_SRV --user2 NAME@DOMAIN_NAME --password2 FROM_DB --subscribed --subscribe

d) test the system, and change the dns for one or two domains to test the server, and if all was correct, move the rest. You can update the htdocs & mails running the same scripts, because they will update the files & the mails automaticaly.

Feel free to update this info... and maybe we can make a wiki with all the info...
09-03-2007 07:14 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Moving user accounts between servers - GaRCieLD - 09-03-2007 07:14 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)