MySQL dump on other server

Having a problem with your shell account? Post here.

MySQL dump on other server

Postby Heikanu on Mon Jul 31, 2006 12:39 pm

I'm moving an site to an new server. The SQL dump for that site is rather large (about 100MB), so I can't execute it from my PC cause it would timeout. The problem is that the new hostig doesn't offer an shell login.
Now my question is, can I use this shell in some way to get the SQl dump on the other hosting?
After you have read this, you will notice you have wasted 3 seconds of your life!
Heikanu
Regular
Regular
 
Posts: 88
Joined: Fri May 19, 2006 11:17 pm
Location: Netherlands

Postby Nintendud on Mon Jul 31, 2006 2:19 pm

I know of a php script that can DEFINITELY help you upload that whole database to a new MySQL database without timing out. It's called BigDump.

http://www.ozerov.de/bigdump.php

Staggered import of large and very large MySQL Dumps (like phpMyAdmin 2.x Dumps) even through the web-servers with hard runtime limit and those in safe mode. The script executes only a small part of the huge dump and restarts itself. The next session starts where the last was stopped.


So, it will upload that whole file for you. No shell required. Just PHP and MySQL Smile
Nintendud
Regular
Regular
 
Posts: 148
Joined: Thu Jul 20, 2006 8:15 pm
Location: Brockton, Massachusetts

Postby Heikanu on Mon Jul 31, 2006 2:26 pm

Nintendud wrote:So, it will upload that whole file for you. No shell required. Just PHP and MySQL Smile


Thnx, I'll try this out Wink
After you have read this, you will notice you have wasted 3 seconds of your life!
Heikanu
Regular
Regular
 
Posts: 88
Joined: Fri May 19, 2006 11:17 pm
Location: Netherlands

Postby Nintendud on Mon Jul 31, 2006 8:29 pm

Tell me how it goes. This simple file has helped out me and many other people who I've recommended it to. I think it should be a standard feature of PHPMyAdmin. Seriously, most everyone who has a forum will eventually end up with a huge .sql backup. It's sad that many don't know of this great tool which will easily restore their database if they ever need to.
Nintendud
Regular
Regular
 
Posts: 148
Joined: Thu Jul 20, 2006 8:15 pm
Location: Brockton, Massachusetts

Postby Heikanu on Mon Jul 31, 2006 10:05 pm

Yep, it worked very good for me. I was allready working on creating my own script for this, but well, this goes much faster Razz
After you have read this, you will notice you have wasted 3 seconds of your life!
Heikanu
Regular
Regular
 
Posts: 88
Joined: Fri May 19, 2006 11:17 pm
Location: Netherlands

Postby BrajanBG on Tue Aug 22, 2006 2:54 pm

You have no luck,aren`t ya ?:D
BrajanBG
Newbie
Newbie
 
Posts: 15
Joined: Mon Aug 21, 2006 3:08 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron