View Full Version : Migrate Sites From 2 to 3
17th April 2009, 23:46
So I know you can't upgrade a server from ISPConfig 2 to 3. However, is there any possible way to move sites from a server running 2, to a server running 3?
We've recently upgraded our servers and installed 3 on a new one. We want to kill the old server but need some way to migrate those sites and accounts.
Forgive me if this has been pointed out somewhere already but I couldn't find it.
18th April 2009, 16:05
You can simply copy over the files to the new server. You might have to modify configuration files (e.g. paths, database details, etc.) though.
You can create SQL dumps of your databases and then import them into empty databases on the new server: http://www.howtoforge.com/faq/6_3_en.html
18th April 2009, 16:25
Thanks for the response. Can you clarify a bit more for me? I can understand moving the site content and exporting and importing the mysql databases, but what about user email accounts?
Were you meaning to create the site on the new version 3 server and then move the site content? That makes sense. I guess I'm just hungup on moving all the email accounts.
18th April 2009, 18:04
As explained in many posts, you can not migrate a ispconfig 2 server to ispconfig 3. This means if you want to use a ispconfig 3 server for your sites, you will have to create all sites and user accounts in ispconfig 3 manually. Mail accounts can not be moved directly, you can just try to copy the maildir files of every account and fiolder manually to the new locations on the new server and dont forget to chnage all owb´nerships to the vmail user.
19th April 2009, 03:08
Hi Till, I'm going to tackle this tomorrow, but was wondering if you could clarify the maildir setup for ISPConfig 3. Is it the same as ISPConfig 2? Not sure what you mean by "vmail" user for ownership under ISPConfig 3?
19th April 2009, 16:11
31st May 2009, 23:45
I setup a laptop according to the howto, Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.10). My idea was to use imapsync to copy the imap datat from my server to the laptop and then install Ubuntu 9 and ISPConfig 3, then copy the imap data from the laptop to the server.
I downloaded and built imapsync per the instructions with imapsync. This is strange, but it would connect to the server without any problems, but wouldn't connect to the laptop.
I'm pretty sure that the problem lies in the way the email address for the howto uses a full email address, eg firstname.lastname@example.org. I think imapsync doesn't deal with the @ sign. If I put the email in double quotes, it didn't matter. I tried to escape the @ with a \ backslash, but then the backslash got passed into the imap server and no match was found.
I tried setting up the laptop with email address of 'someuser' without the @somedomain.com, but that wouldn't work.
To complicate things, I can connect to the laptops mail service with Thunderbird (using SSL) with email@example.com as the connect string!
I guess the question is, since imapsync is perl, how can I pass in the @somedomain.com so that it gets passed to the imap server correctly??
You posted to the wrong thread, this thread is about ispconfig and you dont use ispconfig. I moved your post here:
vBulletin® v3.8.7, Copyright ©2000-2014, vBulletin Solutions, Inc.