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..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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..