get_table_backup (line 38)
Write PHP code for the restoration of database data into file.
void
get_table_backup
(resource $logfile, ID_TEXT $db_meta, ID_TEXT $db_meta_indices, resource &$install_php_file)
-
resource
$logfile: The logfile to write to
-
ID_TEXT
$db_meta: The meta tablename
-
ID_TEXT
$db_meta_indices: The index-meta tablename
-
resource
&$install_php_file: File to write in to
init__backup (line 24)
Standard code module initialisation function.
void
init__backup
()
make_backup_2 (line 118)
Backend function to do a backup (meant to be run as a shutdown function - essentially a background task).
void
make_backup_2
([?string $file = NULL], [?string $b_type = NULL], [?integer $max_size = NULL])
-
?string
$file: The filename to backup to (NULL: get global)
-
?string
$b_type: The type of backup to do (NULL: get global)
-
?integer
$max_size: The maximum size of a file to include in the backup (NULL: get global)