
public class OAutomaticBackup extends OServerPluginAbstract implements OServerPluginConfigurable
| Modifier and Type | Class and Description |
|---|---|
static class |
OAutomaticBackup.MODE |
static class |
OAutomaticBackup.VARIABLES |
| Constructor and Description |
|---|
OAutomaticBackup() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeConfig(ODocument document) |
void |
config(OServer iServer,
OServerParameterConfiguration[] iParams)
Configures the handler.
|
protected void |
exportDatabase(String dbURL,
String iPath,
ODatabaseDocumentTx db) |
protected void |
fullBackupDatabase(String dbURL,
String iPath,
ODatabaseDocumentTx db) |
ODocument |
getConfig() |
protected String |
getFileName(Map.Entry<String,String> dbName) |
String |
getName() |
protected void |
incrementalBackupDatabase(String dbURL,
String iPath,
ODatabaseDocumentTx db) |
getContent, onAfterClientRequest, onBeforeClientRequest, onClientConnection, onClientDisconnection, onClientError, sendShutdown, shutdown, startuppublic void config(OServer iServer, OServerParameterConfiguration[] iParams)
OServerPluginconfig in interface OServerPluginconfig in class OServerPluginAbstractprotected void incrementalBackupDatabase(String dbURL, String iPath, ODatabaseDocumentTx db) throws IOException
IOExceptionprotected void fullBackupDatabase(String dbURL, String iPath, ODatabaseDocumentTx db) throws IOException
IOExceptionprotected void exportDatabase(String dbURL, String iPath, ODatabaseDocumentTx db) throws IOException
IOExceptionpublic ODocument getConfig()
getConfig in interface OServerPluginConfigurablepublic void changeConfig(ODocument document)
changeConfig in interface OServerPluginConfigurableCopyright © 2009–2016 Orient Technologies. All rights reserved.