Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Not Able to run Schedule backup

Help
2013-12-05
2013-12-05
  • Pankaj khurana
    Pankaj khurana
    2013-12-05

    Hello everyone,

    I need a help to run schedule backup in pMBP.I am using iTop ITIL now i would like to take Schedule backup of itop datbase.
    Created Schedule script:
    <?php
    // This script was created by phpMyBackupPro v.2.4
    // In order to work probably, it must be saved in the directory /var/www/web/.
    $_POST['db']=array("mdb", );
    $_POST['comments']="Pankaj Khurana Created Script for datbase backup";
    $_POST['tables']="on";
    $_POST['data']="on";
    $_POST['drop']="on";
    $_POST['zip']="zip";
    $period=(3600*24)/24;
    $security_key="3dd949adfff67df27ffe6e105af7c2f2";
    // switch to the phpMyBackupPro v.2.4 directory
    @chdir("/var/www");
    @include("backup.php");
    // switch back to the directory containing this script
    @chdir("/var/www/web");
    ?>

    save it onehr.php in web(/var/www/web/onehr.php) folder and
    add this line in iTop web index.php------require_once('onehr.php');
    but no Schedule Backup is working...PLease help to solve out this problem...

    Thanks in advance..