IDLE
IDLE = 0
Class Tar_Archiver
Handle the Tar archiver actions.
create_full_backup(string $filepath, array $excludes, boolean $addConfig, boolean $includeCoreFiles, boolean $excludezip, boolean $excludenonwp, boolean $append = false) : boolean
Create full backup.
string | $filepath | Backup file path. |
array | $excludes | Files to exclude from the backup. |
boolean | $addConfig | Add config file to backup. |
boolean | $includeCoreFiles | Include WordPress core files. |
boolean | $excludezip | Exclude zip files from the backup. |
boolean | $excludenonwp | Exclude non-WordPress directories in site root. |
boolean | $append | Append to backup file name. |
Error message.
Return false on failure, true on success.
add_empty_directory(string $entryName, integer $mode, integer $uid, integer $gid, string $mtime)
Add empty directory to the backup archive file.
string | $entryName | Entry name. |
integer | $mode | Inode protection mode. |
integer | $uid | Userid of the file owner. |
integer | $gid | Groupid of the file owner . |
string | $mtime | Time of last modification of the file. |