|
eXo JCR :: Component :: Extension Service 1.15.1-CP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BackupManager
Created by The eXo Platform SARL .
| Field Summary | |
|---|---|
static int |
FULL_AND_INCREMENTAL
The full and incremental backup the type of backup. |
static int |
FULL_BACKUP_ONLY
The full backup only the type of backup. |
| Method Summary | |
|---|---|
BackupChain |
findBackup(String backupId)
Finding current backup by identifier. |
BackupChain |
findBackup(String reposytore,
String workspace)
Finding current backup by repository and workspace. |
RepositoryBackupChain |
findRepositoryBackup(String repository)
Finding current backup by repository. |
RepositoryBackupChain |
findRepositoryBackupId(String id)
Finding current backup by id. |
File |
getBackupDirectory()
Getting backup directory. |
BackupChainLog[] |
getBackupsLogs()
Getting all backup logs . |
Set<BackupChain> |
getCurrentBackups()
Getting current backups. |
Set<RepositoryBackupChain> |
getCurrentRepositoryBackups()
Getting current repository backups. |
long |
getDefaultIncrementalJobPeriod()
Getting default incremental job period. |
String |
getFullBackupType()
Getting full backup type. |
String |
getIncrementalBackupType()
Getting incremental backup type. |
JobRepositoryRestore |
getLastRepositoryRestore(String repositoryName)
Getting last repository restore by repository name. |
JobWorkspaceRestore |
getLastRestore(String repositoryName,
String workspaceName)
Getting last restore by repository and workspace name. |
BackupMessage[] |
getMessages()
Getting the backup messages. |
RepositoryBackupChainLog[] |
getRepositoryBackupsLogs()
Getting all repository backup logs. |
List<JobRepositoryRestore> |
getRepositoryRestores()
Getting list of repository restores. |
List<JobWorkspaceRestore> |
getRestores()
Getting list of restores. |
void |
restore(BackupChainLog log,
String repositoryName,
WorkspaceEntry workspaceEntry,
boolean asynchronous)
Restore from backup. |
void |
restore(RepositoryBackupChainLog log,
RepositoryEntry repositoryEntry,
boolean asynchronous)
Repository restore from backup. |
void |
restore(RepositoryBackupChainLog log,
RepositoryEntry repositoryEntry,
boolean asynchronous,
boolean removeJobOnceOver)
Repository restore from backup. |
void |
restore(RepositoryBackupChainLog log,
RepositoryEntry repositoryEntry,
Map<String,String> workspaceNamesCorrespondMap,
boolean asynchronous)
Repository restore from backup. |
BackupChain |
startBackup(BackupConfig config)
Starting backup. |
RepositoryBackupChain |
startBackup(RepositoryBackupConfig config)
Starting repository backup. |
void |
stopBackup(BackupChain backup)
Stop backup. |
void |
stopBackup(RepositoryBackupChain backup)
Stop backup. |
| Field Detail |
|---|
static final int FULL_BACKUP_ONLY
static final int FULL_AND_INCREMENTAL
| Method Detail |
|---|
Set<BackupChain> getCurrentBackups()
Set<RepositoryBackupChain> getCurrentRepositoryBackups()
List<JobWorkspaceRestore> getRestores()
JobWorkspaceRestore getLastRestore(String repositoryName,
String workspaceName)
repositoryName - String, the repository nameworkspaceName - String, the workspace name
List<JobRepositoryRestore> getRepositoryRestores()
JobRepositoryRestore getLastRepositoryRestore(String repositoryName)
repositoryName - String, the repository name
BackupChainLog[] getBackupsLogs()
RepositoryBackupChainLog[] getRepositoryBackupsLogs()
BackupChain startBackup(BackupConfig config)
throws BackupOperationException,
BackupConfigurationException,
javax.jcr.RepositoryException,
RepositoryConfigurationException
config - BackupConfig, the backup configuration
BackupOperationException - BackupOperationException
will be generate the exception BackupOperationException
BackupConfigurationException - will be generate the exception BackupConfigurationException
javax.jcr.RepositoryException - will be generate the exception RepositoryException
RepositoryConfigurationException - will be generate the exception RepositoryConfigurationExceptionvoid stopBackup(BackupChain backup)
backup - BackupChain, the backup chain
BackupChain findBackup(String reposytore,
String workspace)
reposytore - String, the repository nameworkspace - String, the workspace name
BackupChain findBackup(String backupId)
backupId - String the backup identifier
void restore(BackupChainLog log,
String repositoryName,
WorkspaceEntry workspaceEntry,
boolean asynchronous)
throws BackupOperationException,
BackupConfigurationException,
javax.jcr.RepositoryException,
RepositoryConfigurationException
log - BackupChainLog, the backup logrepositoryName - String, repository nameworkspaceEntry - WorkspaceEntry, the workspace entryasynchronous - boolean, in 'true' then asynchronous restore.
BackupOperationException - will be generate the exception BackupOperationException
BackupConfigurationException - will be generate the exception BackupConfigurationException
javax.jcr.RepositoryException - will be generate the exception RepositoryException
RepositoryConfigurationException - will be generate the exception RepositoryConfigurationExceptionBackupMessage[] getMessages()
File getBackupDirectory()
String getFullBackupType()
String getIncrementalBackupType()
long getDefaultIncrementalJobPeriod()
RepositoryBackupChain startBackup(RepositoryBackupConfig config)
throws BackupOperationException,
BackupConfigurationException,
javax.jcr.RepositoryException,
RepositoryConfigurationException
config - RepositoryBackupConfig, the backup configuration to repository
BackupOperationException - BackupOperationException
will be generate the exception BackupOperationException
BackupConfigurationException - will be generate the exception BackupConfigurationException
javax.jcr.RepositoryException - will be generate the exception RepositoryException
RepositoryConfigurationException - will be generate the exception RepositoryConfigurationExceptionvoid stopBackup(RepositoryBackupChain backup)
backup - RepositoryBackupChain, the repositroy backup chain
void restore(RepositoryBackupChainLog log,
RepositoryEntry repositoryEntry,
Map<String,String> workspaceNamesCorrespondMap,
boolean asynchronous)
throws BackupOperationException,
BackupConfigurationException,
javax.jcr.RepositoryException,
RepositoryConfigurationException
log - RepositoryBackupChainLog, the repository backup logrepositoryEntry - RepositoryEntry, the repository entryworkspaceNamesCorrespondMap - Mapasynchronous - boolean, in 'true' then asynchronous restore.
BackupOperationException - will be generate the exception BackupOperationException
BackupConfigurationException - will be generate the exception BackupConfigurationException
javax.jcr.RepositoryException - will be generate the exception RepositoryException
RepositoryConfigurationException - will be generate the exception RepositoryConfigurationException
void restore(RepositoryBackupChainLog log,
RepositoryEntry repositoryEntry,
boolean asynchronous)
throws BackupOperationException,
BackupConfigurationException,
javax.jcr.RepositoryException,
RepositoryConfigurationException
log - RepositoryBackupChainLog, the repository backup logrepositoryEntry - RepositoryEntry, the repository entryasynchronous - boolean, in 'true' then asynchronous restore.
BackupOperationException - will be generate the exception BackupOperationException
BackupConfigurationException - will be generate the exception BackupConfigurationException
javax.jcr.RepositoryException - will be generate the exception RepositoryException
RepositoryConfigurationException - will be generate the exception RepositoryConfigurationException
void restore(RepositoryBackupChainLog log,
RepositoryEntry repositoryEntry,
boolean asynchronous,
boolean removeJobOnceOver)
throws BackupOperationException,
BackupConfigurationException,
javax.jcr.RepositoryException,
RepositoryConfigurationException
log - RepositoryBackupChainLog, the repository backup logrepositoryEntry - RepositoryEntry, the repository entryasynchronous - boolean, in 'true' then asynchronous restore.removeJobOnceOver - boolean, in 'true' then restore job well remove after restore.
BackupOperationException - will be generate the exception BackupOperationException
BackupConfigurationException - will be generate the exception BackupConfigurationException
javax.jcr.RepositoryException - will be generate the exception RepositoryException
RepositoryConfigurationException - will be generate the exception RepositoryConfigurationExceptionRepositoryBackupChain findRepositoryBackup(String repository)
reposytore - String, the repository name
RepositoryBackupChain findRepositoryBackupId(String id)
reposytore - String, the repository name
|
eXo JCR :: Component :: Extension Service 1.15.1-CP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||