| java.lang.Object org.continuent.sequoia.controller.backup.backupers.AbstractBackuper org.continuent.sequoia.controller.backup.backupers.AbstractPostgreSQLBackuper org.continuent.sequoia.controller.backup.backupers.PostgreSQLPlainTextBackuper
PostgreSQLPlainTextBackuper | public class PostgreSQLPlainTextBackuper extends AbstractPostgreSQLBackuper (Code) | | This class defines a Backuper for PostgreSQL databases. This backuper makes
dumps in a plain-text format with a .sql extension.
Supported URLs are:
- jdbc:postgresql://host:port/dbname?param1=foo,param2=bar
- jdbc:postgresql://host/dbname?param1=foo,param2=bar
- jdbc:postgresql:dbname?param1=foo,param2=bar
author: Emmanuel Cecchet author: Dylan Hansen author: Mathieu Peltier author: Olivier Fambon version: 1.0 |
Method Summary | |
public Date | backup(DatabaseBackend backend, String login, String password, String dumpName, String path, ArrayList tables) | public void | deleteDump(String path, String dumpName) | public void | fetchDump(DumpTransferInfo dumpTransferInfo, String path, String dumpName) | public String | getDumpFormat() | public void | restore(DatabaseBackend backend, String login, String password, String dumpName, String path, ArrayList tables) |
DUMP_FORMAT | final public static String DUMP_FORMAT(Code) | | The dump format for this (family of) backuper.
|
Methods inherited from org.continuent.sequoia.controller.backup.backupers.AbstractPostgreSQLBackuper | public void deleteDump(String path, String dumpName) throws BackupException(Code)(Java Doc) protected int executeNativeCommand(String[] stdinFeed, String[] commands) throws IOException, InterruptedException(Code)(Java Doc) protected int executeNativeCommand(String command) throws IOException, InterruptedException(Code)(Java Doc) protected int executeNativeCommand(String[] commands) throws IOException, InterruptedException(Code)(Java Doc) protected int getDefaultPort()(Code)(Java Doc) protected String getDumpPhysicalPath(String path, String dumpName)(Code)(Java Doc) protected String getJdbcUrlPrefix()(Code)(Java Doc) public String getOptions()(Code)(Java Doc) protected String getPsqlCommand()(Code)(Java Doc) protected String makeCommand(String command, PostgreSQLUrlInfo info, String options, String login)(Code)(Java Doc) protected String[] makeCommandWithAuthentication(String command, PostgreSQLUrlInfo info, String options, String login, String password, boolean isPsql)(Code)(Java Doc) protected String[] makeExpectCommandReadingStdin()(Code)(Java Doc) protected String[] makeExpectDialogueWithAuthentication(String command, PostgreSQLUrlInfo info, String options, String login, String password, int timeout)(Code)(Java Doc) protected String[] makeSplitCommand(String command, PostgreSQLUrlInfo info, String options, String login)(Code)(Java Doc) protected String[] makeSplitCommandWithAuthentication(String command, PostgreSQLUrlInfo info, String options, String login, String password, boolean isPsql)(Code)(Java Doc) protected void printErrors()(Code)(Java Doc) protected void printOutput()(Code)(Java Doc) protected boolean safelyExecNativeCommand(String cmd, String[] inputArray, int timeout)(Code)(Java Doc) protected boolean safelyExecNativeCommand(String[] cmds, String[] inputArray, int timeout)(Code)(Java Doc) public void setOptions(String options)(Code)(Java Doc)
|
|
|