get_class_name()
get_class_name() : string
Method get_class_name()
Get Class Name.
Returns
string —CLASS
Class MainWP_Backup_Handler
backup_site(mixed $siteid, mixed $pTask, mixed $subfolder) : mixed
Method backup_site()
Backup Child Site.
mixed | $siteid | Child Site ID. |
mixed | $pTask | Task to perform. |
mixed | $subfolder | Sub folder to place backup. |
Error message.
$backup_result
backup_download_file(mixed $pSiteId, mixed $pType, mixed $pUrl, mixed $pFile) : boolean
Method backup_download_file()
Download backup file.
mixed | $pSiteId | Child Site ID. |
mixed | $pType | full|db Type of backup. |
mixed | $pUrl | Backup location. |
mixed | $pFile | Backup File. |
Error message.
true|false
backup_check_pid(mixed $pSiteId, mixed $pid, mixed $type, mixed $subfolder, mixed $pFilename) : array
Method backup_check_pid()
Check backup pid.
mixed | $pSiteId | Child Site id. |
mixed | $pid | Backup pid. |
mixed | $type | full|db Type of backup. |
mixed | $subfolder | Sub folder for backup. |
mixed | $pFilename | Backups filename. |
Error message.
$status, $result.
backup(mixed $pSiteId, mixed $pType, mixed $pSubfolder, mixed $pExclude, mixed $excludebackup, mixed $excludecache, mixed $excludenonwp, mixed $excludezip, null $pFilename = null, string $pFileNameUID = '', boolean $pArchiveFormat = false, boolean $pMaximumFileDescriptorsOverride = false, boolean $pMaximumFileDescriptorsAuto = false, boolean $pMaximumFileDescriptors = false, boolean $pLoadFilesBeforeZip = false, boolean $pid = false, boolean $append = false) : mixed
Method backup()
Backup Child Site.
mixed | $pSiteId | Child Site ID. |
mixed | $pType | full|db Typ of backup. |
mixed | $pSubfolder | Sub folder to store backup. |
mixed | $pExclude | Exclusion list. |
mixed | $excludebackup | Exclude backup files. |
mixed | $excludecache | Exclude cache files. |
mixed | $excludenonwp | Exclude no WP Files. |
mixed | $excludezip | Exclude Zip files. |
null | $pFilename | Name of backup file. |
string | $pFileNameUID | File name unique ID. |
boolean | $pArchiveFormat | Archive format. |
boolean | $pMaximumFileDescriptorsOverride | Override maximum file descriptors. |
boolean | $pMaximumFileDescriptorsAuto | Auto maximum file descriptors. |
boolean | $pMaximumFileDescriptors | Maximum file descriptors. |
boolean | $pLoadFilesBeforeZip | Load files before zip. |
boolean | $pid | Backup pid. |
boolean | $append | Append to backup. |
Error message.
$backup_result
get_current_archive_extension(boolean $website = false, boolean|string $task = false) : mixed
Method get_current_archive_extension()
Get extension of current Archive.
boolean | $website | true|false. |
boolean|string | $task | true|false|global|site. |
$archiveFormat Format of Archive.