wCMF
3.6
|
Public Attributes | |
$PARAMS_SECTION_VARNAME = 'MySQLBackupController.paramsSection' | |
![]() | |
$BACKUP_NAME_VARNAME = 'BackupController.backupName' | |
$SOURCE_DIR_VARNAME = 'BackupController.sourceDir' | |
![]() | |
$WORK_PACKAGES_VARNAME = 'BatchController.workPackages' | |
$NUM_STEPS_VARNAME = 'BatchController.numSteps' | |
$_workPackages = array() | |
![]() | |
$STEP_SESSION_VARNAME = 'LongTaskController.curStep' | |
$ONE_CALL_SESSION_VARNAME = 'LongTaskController.oneCall' | |
$_curStep = 1 | |
![]() | |
$_request = null | |
$_response = null | |
$_errorMsg = '' | |
$_view = null | |
$_delegate = null | |
This Controller enhances the file backup defined by BackupController by a backup of a given MySQL database.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
Input actions:
Output actions:
[in] | paramsSection | The configuration section which holds the database connection parameters. |
Definition at line 41 of file class.MySQLBackupController.php.
MySQLBackupController::validate | ( | ) |
Definition at line 48 of file class.MySQLBackupController.php.
References SessionData\getInstance(), and Controller\setErrorMsg().
MySQLBackupController::initialize | ( | & | $request, |
& | $response | ||
) |
Definition at line 62 of file class.MySQLBackupController.php.
References SessionData\getInstance().
MySQLBackupController::getAdditionalWorkPackage | ( | $number, | |
$action | |||
) |
Definition at line 76 of file class.MySQLBackupController.php.
MySQLBackupController::backupMySQL | ( | ) |
Create a backup of the database
Definition at line 92 of file class.MySQLBackupController.php.
References Log\debug(), BackupController\getBackupDir(), and getConnectionParameters().
MySQLBackupController::restoreMySQL | ( | ) |
Restore a backup to the database
Definition at line 103 of file class.MySQLBackupController.php.
References Log\debug(), BackupController\getBackupDir(), and getConnectionParameters().
MySQLBackupController::getConnectionParameters | ( | ) |
Get connection parameters
Definition at line 115 of file class.MySQLBackupController.php.
References InifileParser\getInstance(), SessionData\getInstance(), and WCMFException\throwEx().
Referenced by backupMySQL(), and restoreMySQL().
MySQLBackupController::$PARAMS_SECTION_VARNAME = 'MySQLBackupController.paramsSection' |
Definition at line 43 of file class.MySQLBackupController.php.