Menu

Problems with backup of database

2003-12-08
2004-01-25
  • Nobody/Anonymous

    Hi!

    I just tried to do a backup but got the following message:

    LinPHA MySQL Datenbank Management System Ver. 1.2.0
    Abbruch

    Warnung: fehler beim ffenen von /G:/xampp/htdocs/linpha/sql/db_backup.temp.sql.gz zum Schreiben!

    CHMOD 777 Verzeichnisname sollte das Problem beheben.

    I guess, linpha misses gzip?

    Any hints how I get this running?

    bye

    frank

     
    • Nobody/Anonymous

      Hi,

      I have this problem too.
      When trying to make any backup of the database error message "error opening .../db_backup.temp.sql.gz for writing" appears.
      Guess this happens due to this missing file. Correct ?
      Do other users have this problem too ?

      regards, Andreas

       
    • Nobody/Anonymous

      I managed to get around this in Windows by changing some of the code in linpha\actions\build_mysql_backup.php

      Change line 63 to:
      $mod_name=explode("\\", $scriptname);

      Change line 71 to:
      $backupabsolutepathtest.="$dirs\\";

      Change line 76 to:
      $backupabsolutepath="$backupabsolutepathtest\\sql\\";

      The only changes are the slashes so it works under Windows.  This resolved at least the partial backup for me.

       

Log in to post a comment.