PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Vivek moyal   Generate Mysqli Backup   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Generate Mysqli Backup
Download backup from SQL dump using MySQLi
Author: By
Last change:
Date: 6 years ago
Size: 473 bytes


Class file image Download
include_once 'backupClass.php';
$backupClass=new backupClass();

$password ="";
$tables=false; // Backup whole database tables if want specific than comment this line and uncomment the next line
//$tables=array("snapshot"); //backup specific tables only: array("mytable1","mytable2",...)

echo $backupClass->EXPORT_TABLES($host, $user, $pass, $dbName, $tables, $backupName);