MySQLDumper-Board Forum Index Follow me on Twitter

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


 Perl-Cronscript läuft bei manuellem Aufruf nicht richtig

Post new topicReply to topic
Author Message
nordmann
Donator
Donator





Joined: 26 Jan 2007
Posts: 23


blank.gif

PostPosted: 2008-12-07, 17:34    Perl-Cronscript läuft bei manuellem Aufruf nicht richtig Reply with quoteBack to top

Hallo,

ich habe jetzt die neuste Version vom Dumper (MySQLDumper-Version: 1.23 Rev 315) eingesetzt.

Wenn ich jetzt aber zum testen ein manelles Backup PERL über den Dumper mache per Perl-Cronscript ausführen, dann finde ich im Log folgendes:

(ist nur das Ende vom Log und xxxxxxx habe ich nur hier eingefügt)
06.12.2008 18:32:41 Dumping table `phpbb_vote_voters`
06.12.2008 18:32:41 1283 inserted records (size of backupfile now: 15.80 MB)
06.12.2008 18:32:41 Dumping table `phpbb_words`
06.12.2008 18:32:41 0 inserted records (size of backupfile now: 15.80 MB)
06.12.2008 18:32:41
--------------------------------------------------------------------------------
Finished backup of database `xxxxxxx`.
06.12.2008 18:32:41 sending ftp to www.xxxxxxxxxxx.de ...
06.12.2008 18:32:41 closing script 06.12.2008 18:32
06.12.2008 18:32:41 total time used: 82 sec.
06.12.2008 18:32:41 #EOS (End of script)
--------------------------------------------------------------------------------
 
06.12.2008 18:32:41 closing script 06.12.2008 18:32
06.12.2008 18:32:41 total time used: 82 sec.
06.12.2008 18:32:41 #EOS (End of script)
--------------------------------------------------------------------------------
 
06.12.2008 18:32:41 closing script 06.12.2008 18:32
06.12.2008 18:32:41 total time used: 82 sec.
06.12.2008 18:32:41 #EOS (End of script)

Das Backup wird erzeugt, aber nicht per FTP versendet.
Und diese letzten drei Zeilen
-----------------------------
06.12.2008 18:32:41 closing script 06.12.2008 18:32
06.12.2008 18:32:41 total time used: 82 sec.
06.12.2008 18:32:41 #EOS (End of script)
-----------------------------
werden ca. 200 mal im Log wiederholt.




Wenn ich aber das Backup automatisch über die Crontab ausführen lasse funktioniert alles:

(ist wieder nur das Ende vom Log)
07.12.2008 14:21:32 Dumping table `phpbb_vote_results`
07.12.2008 14:21:32 143 inserted records (size of backupfile now: 15.80 MB)
07.12.2008 14:21:32 Dumping table `phpbb_vote_voters`
07.12.2008 14:21:32 1283 inserted records (size of backupfile now: 15.81 MB)
07.12.2008 14:21:32 Dumping table `phpbb_words`
07.12.2008 14:21:32 0 inserted records (size of backupfile now: 15.81 MB)
07.12.2008 14:21:32
--------------------------------------------------------------------------------
Finished backup of database `xxxxxxx`.
07.12.2008 14:21:32 sending ftp to www.xxxxxxxx.de ...
07.12.2008 14:21:40 FTP-Transfer transferring `xxxxxxx_2008_12_07_14_20.sql.gz` to www.xxxxxxxxxx.de was successful.
07.12.2008 14:21:40 Crondump finished.
07.12.2008 14:21:40 closing script 07.12.2008 14:21
07.12.2008 14:21:40 total time used: 100 sec.
07.12.2008 14:21:40 #EOS (End of script)


Ich hoffe, dass ich das jetzt einigermaßen verständlich geschildert habe Wink

Leben kann ich damit Very Happy aber ich hätte eigentlich erwartet das es egal ist ob das Perl-Cronscript automatisch oder manuell gestartet wird.

Gruß, Lars

_________________
24 hours are not enough

OfflineView user's profileSend private message    
Anzeigen











Posted:    Anzeigen Back to top


    
nordmann
Donator
Donator





Joined: 26 Jan 2007
Posts: 23


blank.gif

PostPosted: 2008-12-09, 21:48    (No subject) Reply with quoteBack to top

Hallo,

ich habe mich heute nochmal etwas mit dem Problem beschäftig und mal versucht eine kleine DB mit nur 86KB manuell per "Perl-Cronscript ausführen" zu sichern.
Wie oben beschrieben lieft das Script bei manuellem Aufruf mit der großen DB (15MB) ja nicht richtig, bei der kleinen DB lief es ohne Probleme.

So sieht das Ende vom Log aus:
09.12.2008 19:13:45 1389 inserted records (size of backupfile now: 72.65 KB)
09.12.2008 19:13:45 Dumping table `4images_wordmatch`
09.12.2008 19:13:45 3049 inserted records (size of backupfile now: 86.28 KB)
09.12.2008 19:13:45
--------------------------------------------------------------------------------
Finished backup of database `xxxxxx`.
09.12.2008 19:13:45 sending ftp to www.xxxxxxx.de ...
09.12.2008 19:13:47 FTP-Transfer transferring `xxxxxx_2008_12_09_19_13.sql.gz` to www.xxxxxx.de was successful.
09.12.2008 19:13:47 Crondump finished.
09.12.2008 19:13:47 closing script 09.12.2008 19:13
09.12.2008 19:13:47 total time used: 7 sec.
09.12.2008 19:13:47 #EOS (End of script)


Gruß, Lars

_________________
24 hours are not enough

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 Perl Backup immer Error 404 luckyheiko Fehler / Probleme 6 2012-05-23, 10:06 View latest post
No new posts Installation klappt nicht zanu Fehler / Probleme 11 2012-05-17, 10:19 View latest post
No new posts Cronjobs funktionieren plötzlich nich... Anselm Gelöst/Erledigt 12 2012-05-16, 09:01 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 Sicherung läuft durch und bricht dann ab SLFred Fehler / Probleme 10 2012-04-25, 18:39 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