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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th October 2007, 14:13
sygram sygram is offline
Senior Member
 
Join Date: Jan 2007
Posts: 101
Thanks: 10
Thanked 2 Times in 2 Posts
Default ispconfig - server migration best way

Hi there,

unfortunately i've installed fedora 6 on my server and in a while it runs out of support. I am buying a new server with centos 5 (support till 2014).
So my question is what is the easiest way to migrate my websites ?

I am thinking of the following moves :
1) get a back up of ispconfig db
2) install ispconfig on new server
3) recover the db from the previously backed up file (step 1)
4) copy and paste all folders under /var/www
5) migrate all mysql dbs
6) copy httpd.conf files as well as ISPconfig virtual hosts conf file
7) copy postfix configuration for emails ?

also the new server will have new ips so i will have to edit all configuration files like ISPconfig vhosts manually ? and also update ISPconfig from Server Management ?

8) update my dns settings of the domains to the new server so that it will stop pointing to the old server and go to the new.
9) remove old server ...

I would appreciate your opinions ...

Thank you in advance

Leon
Reply With Quote
Sponsored Links
  #2  
Old 26th October 2007, 08:22
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Regarding the IP, I think ISPCOnfig will regenerate the necessary config files when you change the IP in the management interface.
What you forgot is to think about the stored email, I think it is /var/spool/mail/.

Another question would be, how to backup the created users.... just extract the users out of the passwd (+ optionally shadow?)
Reply With Quote
  #3  
Old 26th October 2007, 11:25
sygram sygram is offline
Senior Member
 
Join Date: Jan 2007
Posts: 101
Thanks: 10
Thanked 2 Times in 2 Posts
Default

Hi Ben,

thanks for your reply. Is it only a copy and paste from the passwd file ?

Best Regards,

Leonidas
Reply With Quote
  #4  
Old 26th October 2007, 11:37
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,958
Thanks: 825
Thanked 5,362 Times in 4,209 Posts
 
Default

Quote:
thanks for your reply. Is it only a copy and paste from the passwd file ?
Generally yes. Make sure that you copy only the users that had been generated by ISPConfig, the usernames have the form "web[ID]_" if you dont changed the username prefix. After you copeid the lines from /etc/passwd you will have to copy the same users in /etc/shadow to the new system and then copy the groups from /etc/groups.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Rejecting outbound mail tristanlee85 General 11 20th May 2007 17:04
Possible to install backup DNS or better backup whole ISPconfig server ? Snowman General 1 2nd May 2007 14:01
Need a Server to run ISPCONFIG on ! Look Here... jockstrap Tips/Tricks/Mods 23 27th July 2006 11:46
How set DNS entry for different server? SupuS Installation/Configuration 1 12th June 2006 09:48
Install ISPConfig on CentOS Server, in brief gfts Tips/Tricks/Mods 11 4th April 2006 08:29


All times are GMT +2. The time now is 11:56.


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