Base class for creating backups.
Hierarchy
- class Backup
Expanded class hierarchy of Backup
File
- core/
includes/ backup/ backup.class.inc, line 11 - Contains the Backup base class.
Members
Name | Modifiers | Type | Description |
---|---|---|---|
Backup:: |
protected | property | The name of this backup. This is used as the basename of the backup file. |
Backup:: |
protected | property | Indicates the item key to be backed up. |
Backup:: |
protected | property | An array of log entries. The array is unindexed and contains nested, unindexed arrays, each with the following keys: |
Backup:: |
protected | property | The settings array to configure the backup and restore process. |
Backup:: |
public static | function | Determine if this backup source should be used for a particular target. |
Backup:: |
abstract public | function | Run the full backup process, including generating the backup and saving it. |
Backup:: |
public | function | Get the form for the backup settings for this destination. |
Backup:: |
public | function | Clear the log for this backup instance. |
Backup:: |
public | function | Compress a backup file with gzip. |
Backup:: |
constant | ||
Backup:: |
constant | ||
Backup:: |
public | function | Decompress a backup file with gzip. |
Backup:: |
public | function | An array of settings for this backup source. |
Backup:: |
public | function | Return the log for this backup instance. |
Backup:: |
public | function | Get the name of the backup. |
Backup:: |
public | function | Get the target of the backup. |
Backup:: |
protected | function | Log a message that occurs during a backup or migration process. |
Backup:: |
constant | ||
Backup:: |
constant | ||
Backup:: |
constant | ||
Backup:: |
public | function | Change a file after a backup is complete. |
Backup:: |
public | function | Change a file after restoration. |
Backup:: |
public | function | Prepare a file to receive a backup. |
Backup:: |
protected | function | Prepare the PHP environment for performing a backup or restore. |
Backup:: |
public | function | Prepare a file for restoration. |
Backup:: |
abstract public | function | Restore a backup from a file. |
Backup:: |
protected | function | Determines if time for a page execution has run out. |
Backup:: |
abstract public | function | The translated name of the backup type. |
Backup:: |
public | function | Constructor for creating a new backup of any type. |