Provides the ability to create a MySQL-dump and to store it into an ZIP-file togehter with the contents of the data subdirectory. More...
Go to the source code of this file.
Functions | |
addFilesToZip (&$zip, $dir, $archivBase, $depth=0) | |
Provides the ability to create a MySQL-dump and to store it into an ZIP-file togehter with the contents of the data subdirectory.
This script provides the ability to create and to store a MySQL-dump and/or the contents of the data subdirectory into a downloadable .zip-file.
This file has a hardcoded restriction to be accessible for the root user only.
This file depends on inc/common.php and inc/templates/backup.tpl
Definition in file backup.php.
addFilesToZip | ( | & | $zip, |
$dir, | |||
$archivBase, | |||
$depth = 0 |
|||
) |
Adds files to a zip archive (recursive)
mixed | &$zip | zip archive object |
string | $dir | directory to add |
string | $archivBase | archive base path for adding |
integer | $depth | recursion depth |
Definition at line 35 of file backup.php.