View Single Post
  #4  
Old 3rd October 2012, 12:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,982 Times in 3,903 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