MySQLDumper-Board Forum Index Follow me on Twitter

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


 Perl/Cron job not successful on large database

Post new topicReply to topic
Author Message
spikeweb
uses MSD regulary
uses MSD regulary





Joined: 24 May 2006
Posts: 14


france.gif

PostPosted: 2007-02-07, 17:59    Perl/Cron job not successful on large database Reply with quoteBack to top

Hello All,
I use MySQLDumper to backup four different DB over night, via cronjob.de
3 DBs are successfully backed up, the 4th one not. When I perform a manual backup from the Mysqldumper web interface (so a Php backup), it works fine but takes a while (an average of 2 mns). My DB has a 70 Mb size almost.
Is the cron failure due to the DB size ? If yes, what can I do to improve the result, knowing that I cannot change the time out on the server, it is a mutualized one.
Any help will be appreciated Smile
Thanks/Merci/Danke

OfflineView user's profileSend private message    
Anzeigen











Posted:    Anzeigen Back to top


    
DSB
Developer
Developer




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


germany.gif

PostPosted: 2007-02-07, 19:50    (No subject) Reply with quoteBack to top

Yes, you are running into timeout-limits.
You can avoid that by backing up each database with an own cronjob.
Therefor you can save different config-files (notice the name-inputfield on the perl-screen) and hand over this parameter (config=myconfig2.conf) to the perlscript when executing it.

_________________
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    
spikeweb
uses MSD regulary
uses MSD regulary





Joined: 24 May 2006
Posts: 14


france.gif

PostPosted: 2007-02-08, 18:57    (No subject) Reply with quoteBack to top

Thanks for the answer,
If I do so, do I keep the choice to select which table is backed up by a given config-file ?? I did not see where this is configured ... Using 1.12 b11 alpha

OfflineView user's profileSend private message    
DSB
Developer
Developer




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


germany.gif

PostPosted: 2007-02-08, 19:52    (No subject) Reply with quoteBack to top

« spikeweb » wrote:
If I do so, do I keep the choice to select which table is backed up by a given config-file ?? I did not see where this is configured ..

Just make sure that "Use actual database:" is set to "yes" in the configuration of "Cronscript", select the database you want to backup in the selectbox on the left in the menu. Enter your new filename at "Configuration file: /new". Now click "Save" and MSD will put the name of the selected database into the my_configuration.conf-File.
There is no need to edit any of the files manually.

Whe calling the script crondump.pl, make sure that the new name of the configuration "my_configuration.conf" is passed over as a paramter.
That's it. Wink
Souns more complicated than it is.

_________________
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    
Display posts from previous:      
Post new topicReply to topic


 Jump to:   


Show permissions
Similar topics
Topic Author Forum Replies Posted
No new posts Perl Backup immer Error 404 luckyheiko Fehler / Probleme 6 2012-05-23, 10:06 View latest post
No new posts Auswahl "Alle Datenbanken" ... Massa MySQLDumper 1.24 8 2012-05-02, 09:52 View latest post
No new posts Incorrect database name Cujo Fehler / Probleme 5 2012-04-17, 20:24 View latest post
No new posts Cron Job virus50 Fehler / Probleme 3 2012-04-12, 20:50 View latest post
No new posts Perl: Eine Datenbank wird übersprungen Vee Fehler / Probleme 1 2012-03-28, 07:57 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