Functions

Write PHP code for the restoration of database data into file.

get_table_backup(resource $logfile, \ID_TEXT $db_meta, \ID_TEXT $db_meta_indices, resource $install_php_file) 

Parameters

$logfile

resource

The logfile to write to

$db_meta

\ID_TEXT

The meta tablename

$db_meta_indices

\ID_TEXT

The index-meta tablename

$install_php_file

resource

File to write in to

Standard code module initialisation function.

init__backup() 

Backend function to do a backup (meant to be run as a shutdown function - essentially a background task).

make_backup_2(\?string $file, \?string $b_type, \?integer $max_size) 

set full incremental

Parameters

$file

\?string

The filename to backup to (NULL: get global)

$b_type

\?string

The type of backup to do (NULL: get global)

$max_size

\?integer

The maximum size of a file to include in the backup (NULL: get global)