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
  • Method Details

    • restoreExistingWorkspace

      void restoreExistingWorkspace(String workspaceBackupIdentifier, String repositoryName, org.exoplatform.services.jcr.config.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, org.exoplatform.services.jcr.config.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, org.exoplatform.services.jcr.config.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, org.exoplatform.services.jcr.config.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