Hallo zusammen,
der MSD ist die beste mir bekannte Backuplösung. Gratulation zu der genialen Arbeit!
Bisher sicherte ich meine Datenbanken immer manuell. doch möchte ich dies gern automatisieren. Dazu habe ich die *.pl Dateien in mein cgi-bin verzeichnis kopiert.
Der Cron ist auf 3 Uhr nachts gelegt, jedoch bekomme ich folgende Meldung per Mail:
Content-type: text/html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>
MySQLDumper - Perl CronDump [Version 1.21]</title></head><body><h3>
MySQLDumper - Perl CronDump [Version 1.21]</h3>
Config 'mysqldumper.conf' was loaded.<br><br> <span style="color:#0000FF;">Compression Library loaded ...</span><br> <span style="color:#0000FF;">FTP Library loaded ...</span><br> <span style="color:red;">Mail Library loading failed - Mail deactivated ...</span><br><br>
Starting Crondump ...
<font color=#0000FF>ok, logging on<br></font> [Sat Apr 22 11:40:02 2006] crondump.pl: Use of uninitialized value in split at /home/gosagibj/www.gosag.info/cgi-bin/crondump.pl line 197.
[Sat Apr 22 11:40:02 2006] crondump.pl: Use of uninitialized value in split at /home/gosagibj/www.gosag.info/cgi-bin/crondump.pl line 198.
<h4>backup 0 Databases ...</h4>
<hr><hr><hr><strong>ALL 0 BACKUPS ARE COMPLETE !!!</strong><hr><hr><hr> closing script <strong>22.04.2006 11:40</strong>, bye<hr><em>total time used: 1 sec.</em><br>#EOS<hr></body></html>
In den Zeilen 197 & 198 steht folgendes:
@db_array=split(/\|/,$cron_db_array);
@dbpraefix_array=split(/\|/,$cron_dbpraefix_array);
Dankeschön
ETESTS