Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd June 2009, 19:43
filipealvarez filipealvarez is offline
Junior Member
 
Join Date: Apr 2009
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post
Default How Can I migrate my current ISPCONFIG3 to Another Server?

Just Copy dbispconfig, /var/vmail; /var/www and the passwd/group files to other server?
Thanks in Advance!
Reply With Quote
Sponsored Links
  #2  
Old 3rd June 2009, 19:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,487
Thanks: 813
Thanked 5,257 Times in 4,121 Posts
Default

Yes, this should work. But you should not copy the complete group files, just copy the users and groups that were created by ispconfig from the files /etc/group, /etc/shadow and /etc/passwd from the old to the new server. Make sure that you copy the /var/vmail and /var/www files with preserved permissions. e.g with "tar pcfz ....".
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd June 2009, 21:07
filipealvarez filipealvarez is offline
Junior Member
 
Join Date: Apr 2009
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Till, thanks for you reply.
I will try it and post the result here for future research's...
Reply With Quote
The Following User Says Thank You to filipealvarez For This Useful Post:
till (4th June 2009)
  #4  
Old 4th July 2009, 16:23
filipealvarez filipealvarez is offline
Junior Member
 
Join Date: Apr 2009
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post
Default

I tried to use 'tar pcf' but that doesn't work, the permission of all folder is changed to root user.

Any help?

Rsync?

Thanks!
Reply With Quote
  #5  
Old 5th July 2009, 11:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Try
tar -pczf
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 8th July 2009, 13:37
filipealvarez filipealvarez is offline
Junior Member
 
Join Date: Apr 2009
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Till and Falko, I used rsync for copy /var/vmail & /var/www and that solves my problem, the folders/files mantains the right permission.

ISPCOnfig3 server now has been migrated!

Thanks !!!
Reply With Quote
  #7  
Old 8th July 2009, 17:44
hexfusion hexfusion is offline
Junior Member
 
Join Date: Jul 2009
Posts: 5
Thanks: 0
Thanked 2 Times in 1 Post
Default

I am doing a migration and it certainly isn't as simple as moving /var/vmail & /var/www. By doing only that you don't move any mysql db's located at /var/lib/mysql. I have also migrated sites-enabled and sites-available located /etc/httpd/conf/ this shows another problem with log files so I migrated /var/log/ispconfig/ everything works fine but when I try to make changes or add sites the changes are not taking place on my server only in mysql. Any ideas?
Reply With Quote
  #8  
Old 8th July 2009, 17:55
hexfusion hexfusion is offline
Junior Member
 
Join Date: Jul 2009
Posts: 5
Thanks: 0
Thanked 2 Times in 1 Post
Default

there are certain configuration such as ispconfig password for mysql that are located tin /usr/local/ispconfig would it also make sence to migrate this folder? I am assuming there are somethings you would not want to move anyone with a better understanding of v.3 know?
Reply With Quote
  #9  
Old 8th July 2009, 18:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,487
Thanks: 813
Thanked 5,257 Times in 4,121 Posts
Default

Quote:
Originally Posted by hexfusion View Post
there are certain configuration such as ispconfig password for mysql that are located tin /usr/local/ispconfig would it also make sence to migrate this folder? I am assuming there are somethings you would not want to move anyone with a better understanding of v.3 know?
Dont move these folders as they contain passwords specific to the local installation. If you would move them, you will break the setup.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 8th July 2009, 18:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,487
Thanks: 813
Thanked 5,257 Times in 4,121 Posts
 
Default

Quote:
I am doing a migration and it certainly isn't as simple as moving /var/vmail & /var/www. By doing only that you don't move any mysql db's located at /var/lib/mysql. I have also migrated sites-enabled and sites-available located /etc/httpd/conf/ this shows another problem with log files so I migrated /var/log/ispconfig/ everything works fine but when I try to make changes or add sites the changes are not taking place on my server only in mysql. Any ideas?
Take a look ath the syslog and the queue in the monitor.
__________________
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
Migrating Production Server to Lenny and ISPConfig3 atjensen11 Server Operation 3 30th March 2009 13:59
Connection dropped by IMAP server gublym Server Operation 5 23rd January 2009 09:47
Can't start apache Musty Server Operation 12 9th March 2008 13:58
Rejecting outbound mail tristanlee85 General 11 20th May 2007 17:04
Administrator receive empty mail ??? Stanev General 16 7th April 2006 20:56


All times are GMT +2. The time now is 09:57.


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