Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd October 2012, 10:42
HellMind HellMind is offline
Member
 
Join Date: Jul 2008
Posts: 99
Thanks: 4
Thanked 1 Time in 1 Post
Send a message via ICQ to HellMind Send a message via MSN to HellMind
Default Migrating from ispc3 to another box.

I want to move the data from my old ispconfig v3 (latest version) that is in a openvz container uses mydns its an old install.

Now I did this guide
http://www.howtoforge.com/perfect-se...ispconfig-3-p7
With a esxi vm

So, I need the less paintfull way to move all the data from the old server to the new one.

Both are debian squeeze

Linux 2.6.32-5-amd64

Could be this simple?
http://www.pcs-computing.com/support...p-restore.html
__________________
Ispconfig 3 Latest Version (Stable)
Debian Squeeze (esix vm)
Reply With Quote
Sponsored Links
  #2  
Old 3rd October 2012, 12:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,340
Thanks: 810
Thanked 5,172 Times in 4,055 Posts
Default

Does your old server use courier or dovecot pop3/imap server?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd October 2012, 12:17
HellMind HellMind is offline
Member
 
Join Date: Jul 2008
Posts: 99
Thanks: 4
Thanked 1 Time in 1 Post
Send a message via ICQ to HellMind Send a message via MSN to HellMind
Default

courier,
I dont got many emails account configured.
__________________
Ispconfig 3 Latest Version (Stable)
Debian Squeeze (esix vm)
Reply With Quote
  #4  
Old 3rd October 2012, 12:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,340
Thanks: 810
Thanked 5,172 Times in 4,055 Posts
Default

Ok. The folder structure for courier and dovecot is different, so this makes the migration a bit more complicated. I will refer to that later.

The guide you posted above will not work as a lot of things are missing.

The steps fro a migration are:

1) Backup the following directories on the old server: /var/www, /var/vmail and /etc, ensure that you preserver permissions e.g. with "tar pczf backupfile.tar.gz /directory/to/backup".
2) backup all mysql databases.
3) install ispconfig on the new server.
4) backup the new dbispconfig database and empty the database afterwards. Then restore the database of the old server.
5) copy all users and groups of the websites (users are web1, web2, ... , groups are client1, client2, ..., etc.) from the files /etc/passwd, /etc/shadow, /etc/group and /etc/gshadow from the old server to the new server. Copy onle the lines of the users and groupsm´, not the whole files! and make a backup of the files before you change them.
6) restore the contents of /var/vmail and /var/www on the new server.
7) restore the databases of the clients
8) Now we have to fix the maildir structure. See: http://www.howtoforge.com/forums/showthread.php?t=57716
9) Login to ispconfig, go to tools > resync, check all checkboxes and click on start and wait a few minutes to let ispconfig write missing config files.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 3rd October 2012, 13:02
HellMind HellMind is offline
Member
 
Join Date: Jul 2008
Posts: 99
Thanks: 4
Thanked 1 Time in 1 Post
Send a message via ICQ to HellMind Send a message via MSN to HellMind
Default

Is there a way to export and import client by client?

So i can test if everything is working step by step?

because some client didnt use email at all, and

Also, maybe is easier to create the client manually.

Maybe the easiest way to do it, its creating the clients/sites/dns/mails by hand and copy the web files ?
__________________
Ispconfig 3 Latest Version (Stable)
Debian Squeeze (esix vm)
Reply With Quote
  #6  
Old 3rd October 2012, 13:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,340
Thanks: 810
Thanked 5,172 Times in 4,055 Posts
Default

Quote:
Is there a way to export and import client by client?
No.

Quote:
Also, maybe is easier to create the client manually. Maybe the easiest way to do it, its creating the clients/sites/dns/mails by hand and copy the web files ?
This depends on your personal preferences and how many clients you have.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 6th October 2012, 03:04
HellMind HellMind is offline
Member
 
Join Date: Jul 2008
Posts: 99
Thanks: 4
Thanked 1 Time in 1 Post
Send a message via ICQ to HellMind Send a message via MSN to HellMind
 
Default

/var/www
got symlink to /var/clients
Should I backup /var/clients instead?
__________________
Ispconfig 3 Latest Version (Stable)
Debian Squeeze (esix vm)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating to ISPC3 from other panels (here: plesk) Croydon Developers' Forum 29 17th December 2012 16:24
SMS Gateway Ubuntu server 9.10 Playsms Smstools3. letsharehowto HOWTO-Related Questions 13 1st September 2012 20:32
Migrating to ISPC3 from other panels (here: Ispconfig 2) teves Developers' Forum 5 17th July 2012 13:21
problem migrating joomla sites from ISPC2 to ISPC3 - Allowed memory exhausted radim_h Tips/Tricks/Mods 5 21st June 2011 14:12
Migrating To New Box pocketrockits Server Operation 1 29th November 2005 01:01


All times are GMT +2. The time now is 14:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.