| java.lang.Object org.continuent.sequoia.controller.backup.backupers.AbstractBackuper org.continuent.sequoia.controller.backup.backupers.MySQLBackuper
Inner Class :protected class MySQLUrlInfo | |
Method Summary | |
public Date | backup(DatabaseBackend backend, String login, String password, String dumpName, String path, ArrayList tables) | public void | deleteDump(String path, String dumpName) | protected int | executeNativeCommand(String command) Executes a native operating system command. | public String | getDumpFormat() | protected void | printErrors() | public void | restore(DatabaseBackend backend, String login, String password, String dumpName, String path, ArrayList tables) | protected int | safelyExecuteNativeCommand(String command, String dumpPath, boolean backup) Executes a native operating system dump or restore command. |
endUserLogger | static Trace endUserLogger(Code) | | end user logger
|
MySQLBackuper | public MySQLBackuper()(Code) | | Creates a new MySQLBackuper object
|
printErrors | protected void printErrors()(Code) | | |
safelyExecuteNativeCommand | protected int safelyExecuteNativeCommand(String command, String dumpPath, boolean backup) throws IOException(Code) | | Executes a native operating system dump or restore command. Output of these
commands is carefully captured and logged.
Parameters: command - String of command to execute Parameters: dumpPath - path to the dump file (either source or dest, depending onspecified 'backup' parameter. Parameters: backup - specifies whether we are doing a backup (true) or a restore(false). This sets the semantics of the dumpPath parameter toresp. dest or source file name. 0 if successful, 1 otherwise |
|
|