Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Backup\Helper\Data $backupData, \Magento\Framework\Registry $coreRegistry, \Psr\Log\LoggerInterface $logger, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Framework\Filesystem $filesystem, \Magento\Framework\Backup\Factory $backupFactory, \Magento\Framework\App\MaintenanceMode $maintenanceMode) | |
execute () | |
Data Fields | |
const | XML_PATH_BACKUP_ENABLED = 'system/backup/enabled' |
const | XML_PATH_BACKUP_TYPE = 'system/backup/type' |
const | XML_PATH_BACKUP_MAINTENANCE_MODE = 'system/backup/maintenance' |
Protected Attributes | |
$_errors = [] | |
$_backupData = null | |
$_coreRegistry = null | |
$_logger | |
$_scopeConfig | |
$_filesystem | |
$_backupFactory | |
$maintenanceMode | |
Performs scheduled backup.
Definition at line 14 of file SystemBackup.php.
__construct | ( | \Magento\Backup\Helper\Data | $backupData, |
\Magento\Framework\Registry | $coreRegistry, | ||
\Psr\Log\LoggerInterface | $logger, | ||
\Magento\Framework\App\Config\ScopeConfigInterface | $scopeConfig, | ||
\Magento\Framework\Filesystem | $filesystem, | ||
\Magento\Framework\Backup\Factory | $backupFactory, | ||
\Magento\Framework\App\MaintenanceMode | $maintenanceMode | ||
) |
\Magento\Backup\Helper\Data | $backupData | |
\Magento\Framework\Registry | $coreRegistry | |
\Psr\Log\LoggerInterface | $logger | |
\Magento\Framework\App\Config\ScopeConfigInterface | $scopeConfig | |
\Magento\Framework\Filesystem | $filesystem | |
\Magento\Framework\Backup\Factory | $backupFactory | |
\Magento\Framework\App\MaintenanceMode | $maintenanceMode |
Definition at line 81 of file SystemBackup.php.
execute | ( | ) |
Create Backup
Definition at line 105 of file SystemBackup.php.
|
protected |
Definition at line 34 of file SystemBackup.php.
|
protected |
Definition at line 65 of file SystemBackup.php.
|
protected |
Definition at line 41 of file SystemBackup.php.
|
protected |
Definition at line 27 of file SystemBackup.php.
|
protected |
Definition at line 60 of file SystemBackup.php.
|
protected |
Definition at line 46 of file SystemBackup.php.
|
protected |
Definition at line 53 of file SystemBackup.php.
|
protected |
Definition at line 70 of file SystemBackup.php.
const XML_PATH_BACKUP_ENABLED = 'system/backup/enabled' |
Definition at line 16 of file SystemBackup.php.
const XML_PATH_BACKUP_MAINTENANCE_MODE = 'system/backup/maintenance' |
Definition at line 20 of file SystemBackup.php.
const XML_PATH_BACKUP_TYPE = 'system/backup/type' |
Definition at line 18 of file SystemBackup.php.