org.continuent.sequoia.controller.backup.backupers |
Contains backupers classes allowing to do backup/restore operations and to manage
dumps. Backupers for MySQL, PostgreSQL, Derby using native database tools are
provided.
|
Java Source File Name | Type | Comment |
AbstractBackuper.java | Class | This class defines a AbstractBackuper, which can be used as a base class for
most backupers. |
AbstractPostgreSQLBackuper.java | Class | This abstract class provides base methods for PostgreSQL backupers.
Currently the Backupers takes 5 parameters (all are optional):
- bindir: path to PostgreSQL binaries (if not set, the commands are
searched in the path)
- encoding: the encoding of the database that is created upon restore
- authentication: flag to use PostgreSQL authentication (default false)
- dumpServer: address of interface to offer dumps
- preRestoreScript: location of script to run before restoring
- postRestoreScript: location of script to run after restoring
- dumpTimeout: Timeout period (seconds) while performing DB dump.
- restoreTimeout: Timeout period (seconds) while performin DB restore.
- pgDumpFlags: Extra pg_dump command-line options to use while performing
DB dump.
More options can be easily added. |
BasicUrlParser.java | Class | This class defines a BasicUrlParser, which provides a default implementation
of the JdbcUrlParser interface. |
DerbyEmbeddedBackuper.java | Class | This class defines a Backuper for Apache Derby databases.
Supported URLs are jdbc:derby:PathToDerbyDatabase[;options]
The Backuper itself does not take any option. |
JdbcUrlParser.java | Interface | This denotes a class used to parse JDBC URLs. |
MSSQLBackuper.java | Class | MSSQL backuper inspired from the PostgreSQL backuper. |
MySQLBackuper.java | Class | MySQL backuper inspired from the PostgreSQL backuper. |
NativeCommandExec.java | Class | This class defines a NativeCommandExec, which abstracts out native command
execution logic into a small and easily verified class that does not have
dependencies on backuper implementations. |
NativeCommandInputSource.java | Class | This class defines a NativeCommandInputSource, which provides input
to processes. |
NativeCommandOutputThread.java | Class | Thread to process output of native commands. |
OctopusBackuper.java | Class | This class defines a Backuper based on Octopus v3.4.1.
The options supported by this Backuper must be separated by commas (default
is 'zip=true,redirectOutput=false'). |
PostgreSQLBinaryBackuper.java | Class | This class defines a Backuper for PostgreSQL databases. |
PostgreSQLPlainTextBackuper.java | Class | This class defines a Backuper for PostgreSQL databases. |
PostgreSQLSplitPlainTextBackuper.java | Class | This class defines a Backuper for PostgreSQL databases. |
PostgreSQLTarBackuper.java | Class | This class defines a Backuper for PostgreSQL databases. |
ScriptBackuper.java | Class | This class defines a ScriptBackuper, which performs all backup functions by
invoking a generic wrapper script conventionally named 'backupmgr'. |
Zipper.java | Class | Zip utility class to compress a directory into a single zip file and
vice-versa. |