#41  
Old 2nd August 2006, 10:41
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,257
Thanks: 75
Thanked 22 Times in 18 Posts
Default

sorry, I crossposted :-(

http://www.howtoforge.com/forums/sho...&postcount=115

I thought I might continue the discussion in the logs / stats thread, I just mentioned it here because it happened after a move.
Reply With Quote
Sponsored Links
  #42  
Old 6th August 2006, 15:13
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

1) How to FTP files from one server to another through intermediate PC using root account?

server201 - old files zipped from /var/www directory

has to be transfered to

windows PC

and later uploaded to

server200

If I use WinSCP and root acess, file transfer through SSH, transfer is VERY slow.

2)
How to move files directly between two servers WITHOUTH intermediate PC.

server201 ---> server200
tar archive is in /var directory, therefore inacessible by standard web user account

3)
How to import mysql dump created with phpMyAdmin ?
It looks that import function don't import at all previously exported/dumped set of all databases.

Just to clarify, I don't intend to export one by one database and import them, but to export and import all of them at once (including ispconfig database)

This http://www.howtoforge.com/faq/6_3_en.html is ok for dump (export) of complete mysql, but how later to import that into another servers database using phpmyadmin?

If that can't be done, then this is only solution ? http://www.howtoforge.com/faq/6_4_en.html
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3

Last edited by nenad; 6th August 2006 at 15:38.
Reply With Quote
  #43  
Old 7th August 2006, 13:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Quote:
Originally Posted by nenad
2)
How to move files directly between two servers WITHOUTH intermediate PC.

server201 ---> server200
tar archive is in /var directory, therefore inacessible by standard web user account
Have a look at the scp command:
Code:
man scp
Quote:
Originally Posted by nenad
3)
How to import mysql dump created with phpMyAdmin ?
It looks that import function don't import at all previously exported/dumped set of all databases.

Just to clarify, I don't intend to export one by one database and import them, but to export and import all of them at once (including ispconfig database)

This http://www.howtoforge.com/faq/6_3_en.html is ok for dump (export) of complete mysql, but how later to import that into another servers database using phpmyadmin?

If that can't be done, then this is only solution ? http://www.howtoforge.com/faq/6_4_en.html
Either do it one by one, or create a script: http://www.howtoforge.com/forums/sho...ight=mysqldump
http://www.howtoforge.com/forums/sho...ight=mysqldump

Also have a look at mysqlhotcopy:
Code:
man mysqlhotcopy
__________________
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
  #44  
Old 7th August 2006, 13:30
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,257
Thanks: 75
Thanked 22 Times in 18 Posts
Default

for direct access using ftp:

Quote:
cd /#ftp:userass@serverip
exchange user, pass and serverip with your data if you have an ftp account.

if not simply move the files you want to move to the other server into a web directory and on the target server do a
Quote:
wget urltoyourfile
hope this helps
Reply With Quote
  #45  
Old 21st August 2006, 00:11
sushestvo sushestvo is offline
Member
 
Join Date: Oct 2005
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've followed a tutorial on first page and everything was fine at first.
Then I guess one day my server rebooted itself for some reason, I'm not sure what was the source of reboot, but regardless: after reboot vhosts file from ISPconfig had some IPs replaced, I guess ISPConfig messes it up all the time after each reboot.
Only one shared IP stays after reboot, the other is gone. MOst sites that have primary shared IP - will have main IP from old server, and some sites with dedicated IPs receive main IP of a new server.
WHy ISPConfig keeps messing my stuff up all the time? Where does it take the original from anyway? Everything was set up correct originally just like in tutorial on the first page. What should I do to prevent ISPCOnfig changing my vhosts or is there a way to edit the source that panel uses to restore file?
ANy help would be greatly appreciated.
Reply With Quote
  #46  
Old 21st August 2006, 17:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Please make sure that either $go_info["server"]["network_config"] is set to 1 in /home/admispconfig/ispconfig/lib/config.inc.php, or that your additional IP addresses are listed in your distribution's network configuration.

Quote:
WHy ISPConfig keeps messing my stuff up all the time?
ISPConfig is not messing up anything.
__________________
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
  #47  
Old 21st August 2006, 21:06
sushestvo sushestvo is offline
Member
 
Join Date: Oct 2005
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Then why after a reboot all IPs get messed up? I'm talking about vhosts_ISPConfig file.
If I log on to CP itself and view sites there - IPs are correct. But it won't be in vhosts file if I reboot.
Reply With Quote
  #48  
Old 22nd August 2006, 07:49
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,422
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

Did you select the correct IP addresses in ISPConfig for the websites?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #49  
Old 28th August 2006, 01:26
KenKnight KenKnight is offline
Senior Member
 
Join Date: Nov 2005
Posts: 137
Thanks: 0
Thanked 3 Times in 2 Posts
Smile

Hi all,

I'm going through this process now and have run into a few snags.

I followed the instructions from the second post basically using scp to pull everything over.

The old server is running 2.2.2 and the new server is 2.2.6. After copying everything over and restoring the mysql databases from a shell, when I click on a site under the DNS manager etc it comes up with

" The requested document type does not exist. "

Any ideas on what I missed? BTW I went through all the tables in the db_ispconfig and modified the ip address records to reflect the correct ip address for this server.

The old server is a PIII desktop and the new server is a Dual PIII 1U Rackmount with SCSI. If there's a simpler way I'll try it, otherwise I feel like I'm fairly close.

Thanks,
Ken

Last edited by KenKnight; 28th August 2006 at 01:28.
Reply With Quote
  #50  
Old 28th August 2006, 10:40
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,422
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
 
Default

Hi Ken,

you can not move from 2.2.2 to 2.2.6 on another server. To move a ISPConfig installation, both servers must have the same ISPConfig version installed.

Update your old server to ISPConfig 2.2.6 and then move the database.

Till
__________________
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
cannot access ispconfig site Nu2Linux Installation/Configuration 13 3rd January 2009 15:29
Users and websites aren't created Glorfindel Installation/Configuration 9 23rd February 2006 04:20
42goISP vs. ISPConfig nveid General 1 16th January 2006 09:07
Mirroring ISPConfig with DRBD rodriglm General 5 2nd January 2006 12:48
Moving mail in ISPConfig rodriglm General 3 7th December 2005 09:44


All times are GMT +2. The time now is 08:19.


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