Location: PHPKode > projects > ChiCoMaS - Chilek CMS > chicomas/tools/mysqlbackuppro/autobackup/backupdb.php
#!/usr/bin/php -q
<?php
/**
 * MySQL Backup Pro index
 * 
 * @package GONX
 * @author Ben Yacoub Hatem <hide@address.com>
 * @copyright Copyright (c) 2004
 * @version $Id: backupdb.php,v 1.1.1.1 2006/09/30 22:46:27 gurayc Exp $ - 08/04/2004 16:20:30 - index.php
 * @access public
 **/
 
require_once("init.php");
$b = new backup;
$b->dbconnect($GonxAdmin["dbhost"],$GonxAdmin["dbuser"],$GonxAdmin["dbpass"],$GonxAdmin["dbname"]);
$b->generate();
$b->keep(4); // Keep backup for the latest 4 days
?>
Return current item: ChiCoMaS - Chilek CMS