eXo JCR :: Component :: Extension Service 1.15.0-CR2

org.exoplatform.services.jcr.ext.backup
Interface ExtendedBackupManager

All Superinterfaces:
BackupManager
All Known Implementing Classes:
BackupManagerImpl

public interface ExtendedBackupManager
extends BackupManager

Created by The eXo Platform SAS.
Date: 2010

Version:
$Id$
Author:
Alex Reshetnyak

Field Summary
 
Fields inherited from interface org.exoplatform.services.jcr.ext.backup.BackupManager
FULL_AND_INCREMENTAL, FULL_BACKUP_ONLY
 
Method Summary
 void restoreExistingRepository(File repositoryBackupSetDir, boolean asynchronous)
          Restore existing repository.
 void restoreExistingRepository(RepositoryBackupChainLog log, RepositoryEntry repositoryEntry, boolean asynchronous)
          Restore existing repository.
 void restoreExistingRepository(String repositoryBackupIdentifier, boolean asynchronous)
          Restore existing repository.
 void restoreExistingRepository(String repositoryBackupIdentifier, RepositoryEntry repositoryEntry, boolean asynchronous)
          Restore existing repository.
 void restoreExistingWorkspace(BackupChainLog log, String repositoryName, WorkspaceEntry workspaceEntry, boolean asynchronous)
          Restore existing workspace.
 void restoreExistingWorkspace(File workspaceBackupSetDir, boolean asynchronous)
          Restore existing workspace.
 void restoreExistingWorkspace(String workspaceBackupIdentifier, boolean asynchronous)
          Restore existing workspace.
 void restoreExistingWorkspace(String workspaceBackupIdentifier, String repositoryName, WorkspaceEntry workspaceEntry, boolean asynchronous)
          Restore existing workspace.
 void restoreRepository(File repositoryBackupSetDir, boolean asynchronous)
          ReprositoryEntry for restore should be contains in BackupChainLog.
 void restoreRepository(String repositoryBackupIdentifier, boolean asynchronous)
          ReprositoryEntry for restore should be contains in BackupChainLog.
 void restoreWorkspace(File workspaceBackupSetDir, boolean asynchronous)
          WorkspaceEntry for restore should be contains in BackupChainLog.
 void restoreWorkspace(String workspaceBackupIdentifier, boolean asynchronous)
          WorkspaceEntry for restore should be contains in BackupChainLog.
 
Methods inherited from interface org.exoplatform.services.jcr.ext.backup.BackupManager
findBackup, findBackup, findRepositoryBackup, findRepositoryBackupId, getBackupDirectory, getBackupsLogs, getCurrentBackups, getCurrentRepositoryBackups, getDefaultIncrementalJobPeriod, getFullBackupType, getIncrementalBackupType, getLastRepositoryRestore, getLastRestore, getMessages, getRepositoryBackupsLogs, getRepositoryRestores, getRestores, restore, restore, restore, restore, startBackup, startBackup, stopBackup, stopBackup
 

Method Detail

restoreExistingWorkspace

void restoreExistingWorkspace(String workspaceBackupIdentifier,
                              String repositoryName,
                              WorkspaceEntry workspaceEntry,
                              boolean asynchronous)
                              throws BackupOperationException,
                                     BackupConfigurationException
Restore existing workspace. Previous data will be deleted. For getting status of workspace restore can use BackupManager.getLastRestore(String repositoryName, String workspaceName) method

Parameters:
workspaceBackupIdentifier - backup identifier
workspaceEntry - new workspace configuration
asynchronous - if 'true' restore will be in asynchronous mode (i.e. in separated thread)
Throws:
BackupOperationException - if backup operation exception occurred
BackupConfigurationException - if configuration exception occurred

restoreExistingWorkspace

void restoreExistingWorkspace(BackupChainLog log,
                              String repositoryName,
                              WorkspaceEntry workspaceEntry,
                              boolean asynchronous)
                              throws BackupOperationException,
                                     BackupConfigurationException
Restore existing workspace. Previous data will be deleted. For getting status of workspace restore can use BackupManager.getLastRestore(String repositoryName, String workspaceName) method

Parameters:
log - workspace backup log
workspaceEntry - new workspace configuration
asynchronous - if 'true' restore will be in asynchronous mode (i.e. in separated thread)
Throws:
BackupOperationException - if backup operation exception occurred
BackupConfigurationException - if configuration exception occurred

restoreExistingRepository

void restoreExistingRepository(String repositoryBackupIdentifier,
                               RepositoryEntry repositoryEntry,
                               boolean asynchronous)
                               throws BackupOperationException,
                                      BackupConfigurationException
Restore existing repository. Previous data will be deleted. For getting status of repository restore can use BackupManager.getLastRestore(String repositoryName) method

Parameters:
repositoryBackupIdentifier - backup identifier
repositoryEntry - new repository configuration
asynchronous - if 'true' restore will be in asynchronous mode (i.e. in separated thread)
Throws:
BackupOperationException - if backup operation exception occurred
BackupConfigurationException - if configuration exception occurred

restoreExistingRepository

void restoreExistingRepository(RepositoryBackupChainLog log,
                               RepositoryEntry repositoryEntry,
                               boolean asynchronous)
                               throws BackupOperationException,
                                      BackupConfigurationException
Restore existing repository. Previous data will be deleted. For getting status of repository restore can use BackupManager.getLastRestore(String repositoryName) method

Parameters:
log - repository backup log
repositoryEntry - new repository configuration
asynchronous - if 'true' restore will be in asynchronous mode (i.e. in separated thread)
Throws:
BackupOperationException - if backup operation exception occurred
BackupConfigurationException - if configuration exception occurred

restoreExistingWorkspace

void restoreExistingWorkspace(String workspaceBackupIdentifier,
                              boolean asynchronous)
                              throws BackupOperationException,
                                     BackupConfigurationException
Restore existing workspace. Previous data will be deleted. For getting status of workspace restore can use BackupManager.getLastRestore(String repositoryName, String workspaceName) method WorkspaceEntry for restore should be contains in BackupChainLog.

Parameters:
workspaceBackupIdentifier - identifier to workspace backup.
asynchronous - if 'true' restore will be in asynchronous mode (i.e. in separated thread)
Throws:
BackupOperationException - if backup operation exception occurred
BackupConfigurationException - if configuration exception occurred

restoreExistingRepository

void restoreExistingRepository(String repositoryBackupIdentifier,
                               boolean asynchronous)
                               throws BackupOperationException,
                                      BackupConfigurationException
Restore existing repository. Previous data will be deleted. For getting status of repository restore can use BackupManager.getLastRestore(String repositoryName) method. ReprositoryEntry for restore should be contains in BackupChainLog.

Parameters:
repositoryBackupIdentifier - identifier to repository backup.
asynchronous - if 'true' restore will be in asynchronous mode (i.e. in separated thread)
Throws:
BackupOperationException - if backup operation exception occurred
BackupConfigurationException - if configuration exception occurred

restoreWorkspace

void restoreWorkspace(String workspaceBackupIdentifier,
                      boolean asynchronous)
                      throws BackupOperationException,
                             BackupConfigurationException
WorkspaceEntry for restore should be contains in BackupChainLog.

Parameters:
workspaceBackupIdentifier - identifier to workspace backup.
asynchronous - if 'true' restore will be in asynchronous mode (i.e. in separated thread)
Throws:
BackupOperationException - if backup operation exception occurred
BackupConfigurationException - if configuration exception occurred

restoreRepository

void restoreRepository(String repositoryBackupIdentifier,
                       boolean asynchronous)
                       throws BackupOperationException,
                              BackupConfigurationException
ReprositoryEntry for restore should be contains in BackupChainLog.

Parameters:
repositoryBackupIdentifier - identifier to repository backup.
asynchronous - if 'true' restore will be in asynchronous mode (i.e. in separated thread)
Throws:
BackupOperationException - if backup operation exception occurred
BackupConfigurationException - if configuration exception occurred

restoreExistingWorkspace

void restoreExistingWorkspace(File workspaceBackupSetDir,
                              boolean asynchronous)
                              throws BackupOperationException,
                                     BackupConfigurationException
Restore existing workspace. Previous data will be deleted. For getting status of workspace restore can use BackupManager.getLastRestore(String repositoryName, String workspaceName) method WorkspaceEntry for restore should be contains in BackupChainLog.

Parameters:
workspaceBackupSetDir - the directory with backup set
asynchronous - if 'true' restore will be in asynchronous mode (i.e. in separated thread)
Throws:
BackupOperationException - if backup operation exception occurred
BackupConfigurationException - if configuration exception occurred

restoreExistingRepository

void restoreExistingRepository(File repositoryBackupSetDir,
                               boolean asynchronous)
                               throws BackupOperationException,
                                      BackupConfigurationException
Restore existing repository. Previous data will be deleted. For getting status of repository restore can use BackupManager.getLastRestore(String repositoryName) method. ReprositoryEntry for restore should be contains in BackupChainLog.

Parameters:
repositoryBackupSetDir - the directory with backup set
asynchronous - if 'true' restore will be in asynchronous mode (i.e. in separated thread)
Throws:
BackupOperationException - if backup operation exception occurred
BackupConfigurationException - if configuration exception occurred

restoreWorkspace

void restoreWorkspace(File workspaceBackupSetDir,
                      boolean asynchronous)
                      throws BackupOperationException,
                             BackupConfigurationException
WorkspaceEntry for restore should be contains in BackupChainLog.

Parameters:
workspaceBackupSetDir - the directory with backup set
asynchronous - if 'true' restore will be in asynchronous mode (i.e. in separated thread)
Throws:
BackupOperationException - if backup operation exception occurred
BackupConfigurationException - if configuration exception occurred

restoreRepository

void restoreRepository(File repositoryBackupSetDir,
                       boolean asynchronous)
                       throws BackupOperationException,
                              BackupConfigurationException
ReprositoryEntry for restore should be contains in BackupChainLog.

Parameters:
repositoryBackupSetDir - the directory with backup set
asynchronous - if 'true' restore will be in asynchronous mode (i.e. in separated thread)
Throws:
BackupOperationException - if backup operation exception occurred
BackupConfigurationException - if configuration exception occurred

eXo JCR :: Component :: Extension Service 1.15.0-CR2

Copyright © 2012 eXo Platform SAS. All Rights Reserved.