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
  #11  
Old 25th October 2011, 15:13
zbuzanic zbuzanic is offline
Member
 
Join Date: Sep 2011
Location: Zagreb
Posts: 73
Thanks: 41
Thanked 18 Times in 11 Posts
Default

It would be nice to have some tutorial for migrating whole server or maybe a script which would do most od the work. I'll will also need to move to new server next year
__________________
ISPConfig -> the best open source control panel
Reply With Quote
Sponsored Links
  #12  
Old 25th October 2011, 20:17
voidzero voidzero is offline
HowtoForge Supporter
 
Join Date: Mar 2009
Posts: 63
Thanks: 11
Thanked 3 Times in 3 Posts
Default

Ok, after figuring a lot of stuff out here are some notes. It seems that it's not really needed to change the mysql password of user ispconfig. It's even unwise, so I'd suggest to leave it be and rather use the new password on the new system for anything you have migrated.

Don't forget to set quota as your new system has no quota ...yet

I did a lot of mysql stuff because my DNS entries had to be updated in bulk. I edited all the entries in dbispconfig's dns_rr table, and then all I had to do was to click 'edit' and then 'save' for each zone. Saved quite a lot of time there. I also had to do this for ipv6 addresses.

You know, the biggest problem is that you might overlook something. The transition to a new system isn't exactly fun, but it's well to do. So if anyone has questions, just drop them in this thread.
Reply With Quote
The Following User Says Thank You to voidzero For This Useful Post:
till (25th October 2011)
  #13  
Old 25th October 2011, 20:22
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,420
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

Quote:
I did a lot of mysql stuff because my DNS entries had to be updated in bulk. I edited all the entries in dbispconfig's dns_rr table, and then all I had to do was to click 'edit' and then 'save' for each zone. Saved quite a lot of time there. I also had to do this for ipv6 addresses.
There is a dns resync tool for that available, so you dont have to click on each zone.

http://www.howtoforge.com/forums/sho...16&postcount=2
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
voidzero (26th October 2011)
  #14  
Old 25th October 2011, 20:34
Franz Franz is offline
Senior Member
 
Join Date: Jul 2009
Location: Cakovec
Posts: 117
Thanks: 7
Thanked 24 Times in 18 Posts
Send a message via Skype™ to Franz
Default

When I migrated my clients to new server, i migrate site by site.

First set DNS TTL to 60 sec, so you can switch site on little downtime

create all zones on new server, wait 2 days that DNS is on new server.
Update nameservers on DNS registers.

create small script which will mysql dump, mysql import, rsync data, and setting new owner

then migrate site by site, disabling, on old server, as site is migrated

and finally rsync vmail to new server and monitor if new mail are coming to new server

and now I have clean system ready to be multiserver soon

I also created DNS slave script with dns_export_to_bind.php (located in ispconfig instalation)
so I don't need separated ispconfig server for second DNS
__________________
my PAGE
VoIP
my IT help blog
Reply With Quote
  #15  
Old 27th October 2011, 01:11
voidzero voidzero is offline
HowtoForge Supporter
 
Join Date: Mar 2009
Posts: 63
Thanks: 11
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by till View Post
Dont forget to migrate /var/log/ispconfig/httpd/ as it contains the log files for all websites.
Ah, actually, I did forget it. But it was an easy catch: apache simply won't start if you don't have that dir ;-)
Reply With Quote
  #16  
Old 27th October 2011, 16:35
Bobonov Bobonov is offline
Junior Member
 
Join Date: May 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Instead of opening a new post I use this one since my problem is more or less about migration.

Let me explain a bit of background.
During an upgrade my server got trapped in a boot problem, since it is in a remote location I could not recover it easily and diced to reinstall everything.

This is not my first ispconfig3 migration so I was confident with it.
I had a usb backup hd attached and I made a backup of all the relevant part.

Unfortunately during the copy the hd failed when I was about to copy back the websites and apache virtualhost configurations

So now I have a working server with a working ispconfig with an imported db from previous installation.

Since many of the sites where cms, all the relevant data are in the db. eventually I will miss some images.

But to start restoring I need to recreate all the virtualhost and the relative ispconfig3 tree structure.
Is there a way to force ispconfig to recreate everything, like when you create a new website?
Reply With Quote
  #17  
Old 27th October 2011, 16:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,420
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
 
Default

Quote:
But to start restoring I need to recreate all the virtualhost and the relative ispconfig3 tree structure.
Is there a way to force ispconfig to recreate everything, like when you create a new website?
Edit a value in the website settings e.g. quota and click on save. ISPConfig will then recreate the site if it does not exist.
__________________
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
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 12:04
ISPConfig 3 - CentOS 5.4 - SSL Problems!?! owainbaber Installation/Configuration 4 26th July 2011 17:12
Not working emails (DNS and postfix problem?) shekiman Installation/Configuration 9 1st March 2011 16:25
Hosting multiple websites and webmail dmwcool Installation/Configuration 8 30th March 2010 03:15
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 16:11


All times are GMT +2. The time now is 21:50.


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