A destination type for saving to a database server.
Hierarchy
- class Backup
- class BackupDatabase
Expanded class hierarchy of BackupDatabase
File
- core/
includes/ backup/ backup.database.inc, line 12 - Functions to handle the direct to/from database backup source.
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:: |
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 | 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 | Prepare a file to receive a backup. |
Backup:: |
protected | function | Prepare the PHP environment for performing a backup or restore. |
Backup:: |
protected | function | Determines if time for a page execution has run out. |
BackupDatabase:: |
protected | property | The database connection to be used when doing a backup or restore. |
BackupDatabase:: |
public | function |
Run the full backup process, including generating the backup and saving it. Overrides Backup:: |
BackupDatabase:: |
abstract protected | function | Backup the databases to a file. |
BackupDatabase:: |
public | function |
Get the form for the backup settings for this destination. Overrides Backup:: |
BackupDatabase:: |
public | function | Get the version info for the given database. |
BackupDatabase:: |
public | function |
Get the default settings for this object. Overrides Backup:: |
BackupDatabase:: |
protected | function | Get the db connection for the specified db. |
BackupDatabase:: |
public | function | Get the file type supported when backing-up or restoring to/from a file. |
BackupDatabase:: |
protected | function | Get a list of tables to be locked during the backup. |
BackupDatabase:: |
protected | function | Get a list of objects in the database. |
BackupDatabase:: |
abstract protected | function | Get a list of tables in the database. |
BackupDatabase:: |
abstract protected | function | Get a list of views in the database. |
BackupDatabase:: |
abstract protected | function | Lock the database in anticipation of a backup. |
BackupDatabase:: |
public | function |
Change a file after a backup is complete. Overrides Backup:: |
BackupDatabase:: |
public | function |
Change a file after restoration. Overrides Backup:: |
BackupDatabase:: |
public | function |
Prepare a file for restoration. Overrides Backup:: |
BackupDatabase:: |
public | function |
Restore a backup from a file. Overrides Backup:: |
BackupDatabase:: |
abstract protected | function | Backup the databases to a file. |
BackupDatabase:: |
public | function |
The translated name of the backup type. Overrides Backup:: |
BackupDatabase:: |
abstract protected | function | Unlock any tables that have been locked. |
BackupDatabase:: |
public | function |
Constructor for creating a new backup of any type. Overrides Backup:: |