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) 
package backup

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

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) : \Tempcode
package backup
set full incremental

Parameters

$file

string

The filename to backup to

$b_type

string

The type of backup to do

$max_size

integer

The maximum size of a file to include in the backup

Returns

\TempcodeSuccess message