
3rd June 2009, 19:43
|
|
Junior Member
|
|
Join Date: Apr 2009
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
|
|
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!
|

3rd June 2009, 19:59
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,897
Thanks: 693
Thanked 4,190 Times in 3,208 Posts
|
|
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 ....".
|

3rd June 2009, 21:07
|
|
Junior Member
|
|
Join Date: Apr 2009
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Hi Till, thanks for you reply.
I will try it and post the result here for future research's...
|
|
The Following User Says Thank You to filipealvarez For This Useful Post:
|
|

4th July 2009, 16:23
|
|
Junior Member
|
|
Join Date: Apr 2009
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
|
|
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!
|

5th July 2009, 11:49
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Try
tar -pczf
|

8th July 2009, 13:37
|
|
Junior Member
|
|
Join Date: Apr 2009
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
|
|
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 !!!
|

8th July 2009, 17:44
|
|
Junior Member
|
|
Join Date: Jul 2009
Posts: 5
Thanks: 0
Thanked 2 Times in 1 Post
|
|
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?
|

8th July 2009, 17:55
|
|
Junior Member
|
|
Join Date: Jul 2009
Posts: 5
Thanks: 0
Thanked 2 Times in 1 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?
|

8th July 2009, 18:07
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,897
Thanks: 693
Thanked 4,190 Times in 3,208 Posts
|
|
Quote:
Originally Posted by hexfusion
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.
|

8th July 2009, 18:08
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,897
Thanks: 693
Thanked 4,190 Times in 3,208 Posts
|
|
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 15:34.
|
Recent comments
9 hours 46 min ago
16 hours 27 min ago
20 hours 18 min ago
21 hours 56 min ago
1 day 6 hours ago
1 day 15 hours ago
1 day 16 hours ago
1 day 20 hours ago
2 days 37 min ago
2 days 59 min ago