|
eXo JCR :: Applications :: Backup Console 1.15.6-GA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.exoplatform.jcr.backupconsole.BackupClientImpl
public class BackupClientImpl
Created by The eXo Platform SAS.
Date:
| Constructor Summary | |
|---|---|
BackupClientImpl(ClientTransport transport,
FormAuthentication formAuthentication,
String urlPath)
Constructor. |
|
BackupClientImpl(ClientTransport transport,
String urlPath)
Constructor. |
|
BackupClientImpl(ClientTransport transport,
String login,
String pass,
String urlPath)
Constructor. |
|
| Method Summary | |
|---|---|
String |
drop(boolean forceClose,
String repositoryName,
String workspaceName)
Drop workspace or repository. |
String |
info()
Get information about backup service. |
String |
list()
Get information about the current backups (in progress). |
String |
listCompleted()
Get information about the completed (ready to restore) backups. |
String |
restore(String repositoryName,
String workspaceName,
String backupId,
InputStream config,
String backupSetPath,
boolean removeExists)
Restore repository or workspace from backup file. |
String |
restores(String repositoryName,
String workspaceName)
Get information about current restores of repository or workspace. |
String |
startBackUp(String repositoryName,
String workspaceName,
String backupDir)
Start backup of repository or workspace. |
String |
startIncrementalBackUp(String repositoryName,
String workspaceName,
String backupDir,
long incr)
Start Incremental Backup of repository or workspace. |
String |
status(String backupId)
Get Status of backup. |
String |
stop(String backupId)
Stop backup. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BackupClientImpl(ClientTransport transport,
String urlPath)
transport - ClientTransport implementation.urlPath - url path.
public BackupClientImpl(ClientTransport transport,
String login,
String pass,
String urlPath)
transport - ClientTransport implementation.login - user login.pass - user password.urlPath - url path.
public BackupClientImpl(ClientTransport transport,
FormAuthentication formAuthentication,
String urlPath)
transport - ClientTransport implementation.formAuthentication - form authentication.urlPath - url path.| Method Detail |
|---|
public String startBackUp(String repositoryName,
String workspaceName,
String backupDir)
throws IOException,
BackupExecuteException
startBackUp in interface BackupClientrepositoryName - String, the repository name.workspaceName - String, the workspace name.backupDir - path to backup folder on remote server
IOException - transport exception.
BackupExecuteException - backup client internal exception.
public String startIncrementalBackUp(String repositoryName,
String workspaceName,
String backupDir,
long incr)
throws IOException,
BackupExecuteException
startIncrementalBackUp in interface BackupClientrepositoryName - String, the repository nameworkspaceName - String, the workspace namebackupDir - path to backup folder on remote serverincr - incremental job period.
IOException - transport exception
BackupExecuteException - backup client internal exception
public String status(String backupId)
throws IOException,
BackupExecuteException
status in interface BackupClientbackupId - the backup identifier.
IOException - transport exception.
BackupExecuteException - backup client internal exception.
public String stop(String backupId)
throws IOException,
BackupExecuteException
stop in interface BackupClientbackupId - the backup identifier
IOException - transport exception
BackupExecuteException - backup client internal exception
public String restore(String repositoryName,
String workspaceName,
String backupId,
InputStream config,
String backupSetPath,
boolean removeExists)
throws IOException,
BackupExecuteException
restore in interface BackupClientrepositoryName - String, the repository nameworkspaceName - String, the workspace namebackupId - the backup identifierconfig - InputStream contains workspace configurationbackupSetPath - String, path to backup set directory on server sideremoveExists - boolean. if 'true' then will be removed(clean db, value storage, index) existed repository/workspace.
IOException - transport exception
BackupExecuteException - backup client internal exception
public String drop(boolean forceClose,
String repositoryName,
String workspaceName)
throws IOException,
BackupExecuteException
drop in interface BackupClientforceClose - force sessions close on repository or workspacerepositoryName - String, the repository nameworkspaceName - String, the workspace name
IOException - transport exception
BackupExecuteException - backup client internal exception
public String info()
throws IOException,
BackupExecuteException
info in interface BackupClientIOException - transport exception
BackupExecuteException - backup client internal exception
public String list()
throws IOException,
BackupExecuteException
list in interface BackupClientIOException - transport exception
BackupExecuteException - backup client internal exception
public String listCompleted()
throws IOException,
BackupExecuteException
listCompleted in interface BackupClientIOException - transport exception
BackupExecuteException - backup client internal exception
public String restores(String repositoryName,
String workspaceName)
throws IOException,
BackupExecuteException
restores in interface BackupClientrepositoryName - String, the repository nameworkspaceName - String, the workspace name
IOException - transport exception
BackupExecuteException - backup client internal exception
|
eXo JCR :: Applications :: Backup Console 1.15.6-GA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||