Function __global->make_backup

Definitions

sources/backup.php

  • Backend function to do a backup.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$file string required parameter N/A N/A The filename to backup to
$b_type string full N/A N/A The type of backup to do
$max_size integer 100 N/A N/A The maximum size of a file to include in the backup
$callback ?mixed Null N/A N/A Callback to run on each iteration (null: none)

Return

  • Success message
  • Type: Tempcode
  • Set: N/A
  • Range: N/A