MySQLDumper-Board Forum Index Follow me on Twitter

Portal  •   Forum  •  Downloads  •  Profile  •  Search   •  Register  •  Log in to check your private messages  •  Log in  •  


 Backup times out even selecting just 1 table

Post new topicReply to topic
Author Message
joepen
knows MySQLDumper
knows MySQLDumper





Joined: 06 Aug 2011
Posts: 5


blank.gif

PostPosted: 2011-08-06, 05:51    Backup times out even selecting just 1 table Reply with quoteBack to top

Hello masters,

I really hope you could help me out.

I have a 2gig DB and I'm having trouble making a back up of it. Basically as the subject indicated the back up is timing out. My first attempt was to use mysqldumper to backup the entire 2 gig DB with Multipart backup enabled (10mb per part). When it timed out I tried to select a single table only (size 16kb) then hit start backup. It still timed out. error:

"Gateway Time-out

The gateway did not receive a timely response from the upstream server or application.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

I know my installation works because I was able to backup (using mysqldumper) another DB which has a size of 1.2mb. Not sure what else to check. I simply need to be able to back-up this entire 2gig DB

My specs:

linux
apache 2.2.19
PHP 5.3.6
MySQL 5.1.56
mysqldumper 1.24.4

Oh btw I also tried it locally coz I have a copy of the DB (a few months old around 1.6 gig) I can't even reach the part where I can select tables.

specs locally:

win7
wampserver 2
apache 2.2.17
php 5.3.5
mysql 5.5.8


thanks and more power

OfflineView user's profileSend private message    
Anzeigen











Posted:    Anzeigen Back to top


    
DSB
Developer
Developer




Age: 41
Joined: 30 Apr 2004
Posts: 16049
Location: Reichenberg bei Würzburg


germany.gif

PostPosted: 2011-08-06, 14:00    (No subject) Reply with quoteBack to top

Without knowing the kind of data you are trying to backup I can only try to get some hints which may or may not be a help. Wink

Set the speed params to 100/10000 and disable the optimize option. Does this change anything?

_________________
Gruß / Greetings, DSB

Teigwaren heißen Teigwaren, weil sie Teig waren.
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.

OfflineView user's profileSend private messageSend e-mailVisit poster's website    
joepen
knows MySQLDumper
knows MySQLDumper





Joined: 06 Aug 2011
Posts: 5


blank.gif

PostPosted: 2011-08-06, 17:41    (No subject) Reply with quoteBack to top

Hi DSB,

Thanks for the response. Silly me amongst all the settings I haven't turned off optimization. Now I'm at least seeing the progress bar. Thanks so much.

Regarding the kind of data. Not really sure what you meant. All my data are just text information, no picture blob or music files. The previous guys maintaining this system hasn't heard of the word "Archiving" that's why data got this big. Now I have to transfer it to a dedicated server.

Thanks again

OfflineView user's profileSend private message    
DSB
Developer
Developer




Age: 41
Joined: 30 Apr 2004
Posts: 16049
Location: Reichenberg bei Würzburg


germany.gif

PostPosted: 2011-08-06, 17:59    (No subject) Reply with quoteBack to top

So the optimizing process takes too long because it haven't been executed for a long time. That's why you are getting a 404 error (browser or PHP times out).

It would be best if you can turn on the automatic optimization. This will also speed up your database.

You could manually optimize all tables until they are in a good state again. Do so under Home / Databases / select your db and hit the button "optimize tables". You will get timeouts or blank screens because the process takes too long. Don't get confused and reload the site after 5 minutes. Repeat this until you won't get timeouts but the list of tables. Then your tables are optimized and you can reactivate the setting for the backup process.

_________________
Gruß / Greetings, DSB

Teigwaren heißen Teigwaren, weil sie Teig waren.
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.

OfflineView user's profileSend private messageSend e-mailVisit poster's website    
joepen
knows MySQLDumper
knows MySQLDumper





Joined: 06 Aug 2011
Posts: 5


blank.gif

PostPosted: 2011-08-06, 18:27    (No subject) Reply with quoteBack to top

Big thanks

Ok will do. Im currently processing the backup now. Will let you know the results.

OfflineView user's profileSend private message    
joepen
knows MySQLDumper
knows MySQLDumper





Joined: 06 Aug 2011
Posts: 5


blank.gif

PostPosted: 2011-08-06, 18:53    (No subject) Reply with quoteBack to top

I got one quick question. Im working from home and its stormy here lately. What if my power and net went down what happens to the backup progress? Will it still go on or it will stop? If so how do i resume it (dont want to begin from the start)

thanks

OfflineView user's profileSend private message    
DSB
Developer
Developer




Age: 41
Joined: 30 Apr 2004
Posts: 16049
Location: Reichenberg bei Würzburg


germany.gif

PostPosted: 2011-08-06, 19:01    (No subject) Reply with quoteBack to top

« joepen » wrote:
What if my power and net went down what happens to the backup progress? Will it still go on or it will stop? If so how do i resume it (dont want to begin from the start)

MSD needs the browser instance to call itself via Javascript. Closing the browser will stop the backup process.
There is no way to resume the process if you shut down your box.
In the matter of a consistent backup this also is not senseful because data might have changed meanwhile.

_________________
Gruß / Greetings, DSB

Teigwaren heißen Teigwaren, weil sie Teig waren.
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.

OfflineView user's profileSend private messageSend e-mailVisit poster's website    
joepen
knows MySQLDumper
knows MySQLDumper





Joined: 06 Aug 2011
Posts: 5


blank.gif

PostPosted: 2011-08-08, 12:21    (No subject) Reply with quoteBack to top

thanks for the help
OfflineView user's profileSend private message    
Display posts from previous:      
Post new topicReply to topic


 Jump to:   


Show permissions
Similar topics
Topic Author Forum Replies Posted
No new posts Restore:Can't create table '...cache_... rob40 Fehler / Probleme 4 2012-05-13, 20:41 View latest post
No new posts Ältere Beiträge und User aus früherem... abelius-kiel Allgemeine Fragen zu MySQLDumper 3 2012-04-22, 10:16 View latest post
No new posts Backup bricht ab Timm85 Fehler / Probleme 2 2012-04-21, 00:20 View latest post
No new posts Backup mit FTP ist leer pelikan1999 Gelöst/Erledigt 9 2012-04-07, 18:05 View latest post
No new posts Backup Error Vengeance66 Errors and questions 4 2012-04-02, 16:52 View latest post

 
CrackerTracker © 2004 - 2012 CBACK.de

Powered by Orion based on phpBB © 2001, 2002 phpBB Group
CBACK Orion Style based on FI Theme
All times are GMT + 2 Hours

phpBB SEO