Migrate Sites From 2 to 3

Discussion in 'Installation/Configuration' started by samuch, Apr 17, 2009.

Thread Status:
Not open for further replies.
  1. samuch

    samuch New Member

    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.
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. samuch

    samuch New Member

    Hey Falko,

    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.

    Thanks!
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  5. DantePasquale

    DantePasquale Member HowtoForge Supporter

    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?

    Thanks, Danté
     
  6. falko

    falko Super Moderator Howtoforge Staff

  7. DantePasquale

    DantePasquale Member HowtoForge Supporter

    Hi Guys,

    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 [email protected]. 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 protected] 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??

    Thanks, Danté
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

Thread Status:
Not open for further replies.

Share This Page