|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (AppFilesystem $filesystem, Factory $backupFactory) | |
| rollback () | |
| create () | |
| getType () | |
| setDbBackupManager (AbstractBackup $manager) | |
| getDbBackupFilename () | |
Public Member Functions inherited from Filesystem | |
| rollback () | |
| create () | |
| validateAvailableDiscSpace ($backupDir, $size) | |
| setUseFtp ($host, $username, $password, $path) | |
| getType () | |
| addIgnorePaths ($paths) | |
| getIgnorePaths () | |
| setBackupsDir ($backupsDir) | |
| getFtpPath () | |
| getFtpConnectString () | |
Public Member Functions inherited from AbstractBackup | |
| setBackupExtension ($backupExtension) | |
| getBackupExtension () | |
| setResourceModel ($resourceModel) | |
| getResourceModel () | |
| setTime ($time) | |
| getTime () | |
| setRootDir ($rootDir) | |
| getRootDir () | |
| setBackupsDir ($backupsDir) | |
| getBackupsDir () | |
| getBackupPath () | |
| getBackupFilename () | |
| getIsSuccess () | |
| getErrorMessage () | |
| setErrorMessage ($errorMessage) | |
| setName ($name, $applyFilter=true) | |
| getName () | |
| getDisplayName () | |
| keepSourceFile () | |
| setKeepSourceFile (bool $keepSourceFile) | |
Protected Member Functions | |
| _createDbBackupInstance () | |
| _getDbBackupManager () | |
| _removeDbBackup () | |
Protected Member Functions inherited from Filesystem | |
| _checkBackupsDir () | |
| _getTarTmpPath () | |
| getRollBackFtp () | |
| getRollBackFs () | |
Protected Member Functions inherited from AbstractBackup | |
| _filterName ($name) | |
Protected Attributes | |
| $_dbBackupManager | |
| $_filesystem | |
| $_backupFactory | |
Protected Attributes inherited from Filesystem | |
| $_ignorePaths = [] | |
| $_useFtp = false | |
| $_ftpHost | |
| $_ftpUser | |
| $_ftpPass | |
| $_ftpPath | |
| $rollBackFtp | |
| $rollBackFs | |
Protected Attributes inherited from AbstractBackup | |
| $_name | |
| $_time | |
| $_backupExtension | |
| $_resourceModel | |
| $_rootDir | |
| $_backupsDir | |
| $_lastOperationSucceed = false | |
| $_lastErrorMessage | |
Definition at line 18 of file Snapshot.php.
| __construct | ( | AppFilesystem | $filesystem, |
| Factory | $backupFactory | ||
| ) |
| AppFilesystem | $filesystem | |
| Factory | $backupFactory |
Definition at line 43 of file Snapshot.php.
|
protected |
Create Db Instance
Definition at line 114 of file Snapshot.php.
|
protected |
Get database backup manager
Definition at line 128 of file Snapshot.php.
|
protected |
Remove Db backup after added it to the snapshot
Definition at line 164 of file Snapshot.php.
| create | ( | ) |
Implementation Create Backup functionality for Snapshot
| Exception |
Implements BackupInterface.
Definition at line 80 of file Snapshot.php.
| getDbBackupFilename | ( | ) |
Definition at line 154 of file Snapshot.php.
| getType | ( | ) |
Overlap getType
Implements BackupInterface.
Definition at line 104 of file Snapshot.php.
| rollback | ( | ) |
Implementation Rollback functionality for Snapshot
| Exception |
Implements BackupInterface.
Definition at line 55 of file Snapshot.php.
| setDbBackupManager | ( | AbstractBackup | $manager | ) |
Set Db backup manager
| AbstractBackup | $manager |
Definition at line 143 of file Snapshot.php.
|
protected |
Definition at line 37 of file Snapshot.php.
|
protected |
Definition at line 25 of file Snapshot.php.
|
protected |
Definition at line 32 of file Snapshot.php.