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

All Known Implementing Classes:
BackupManagerImpl

public interface BackupManager

Created by The eXo Platform SARL .

Version:
$Id: BackupManager.java 35186 2009-08-07 14:23:43Z pnedonosko $
Author:
Gennady Azarenkov

Field Summary
static int FULL_AND_INCREMENTAL
           
static int FULL_BACKUP_ONLY
           
 
Method Summary
 BackupChain findBackup(java.lang.String reposytore, java.lang.String workspace)
           
 java.io.File getBackupDirectory()
           
 BackupChainLog[] getBackupsLogs()
           
 java.util.Set<BackupChain> getCurrentBackups()
           
 java.lang.String getFullBackupType()
           
 java.lang.String getIncrementalBackupType()
           
 BackupMessage[] getMessages()
           
 BackupScheduler getScheduler()
           
 void restore(BackupChainLog log, RepositoryEntry repository, WorkspaceEntry workspaceEntry)
           
 BackupChain startBackup(BackupConfig config)
           
 void stopBackup(BackupChain backup)
           
 

Field Detail

FULL_BACKUP_ONLY

static final int FULL_BACKUP_ONLY
See Also:
Constant Field Values

FULL_AND_INCREMENTAL

static final int FULL_AND_INCREMENTAL
See Also:
Constant Field Values
Method Detail

getCurrentBackups

java.util.Set<BackupChain> getCurrentBackups()

getBackupsLogs

BackupChainLog[] getBackupsLogs()

startBackup

BackupChain startBackup(BackupConfig config)
                        throws BackupOperationException,
                               BackupConfigurationException,
                               javax.jcr.RepositoryException,
                               RepositoryConfigurationException
Throws:
BackupOperationException
BackupConfigurationException
javax.jcr.RepositoryException
RepositoryConfigurationException

stopBackup

void stopBackup(BackupChain backup)

findBackup

BackupChain findBackup(java.lang.String reposytore,
                       java.lang.String workspace)

restore

void restore(BackupChainLog log,
             RepositoryEntry repository,
             WorkspaceEntry workspaceEntry)
             throws BackupOperationException,
                    BackupConfigurationException,
                    javax.jcr.RepositoryException,
                    RepositoryConfigurationException
Throws:
BackupOperationException
BackupConfigurationException
javax.jcr.RepositoryException
RepositoryConfigurationException

getScheduler

BackupScheduler getScheduler()

getMessages

BackupMessage[] getMessages()

getBackupDirectory

java.io.File getBackupDirectory()

getFullBackupType

java.lang.String getFullBackupType()

getIncrementalBackupType

java.lang.String getIncrementalBackupType()


Copyright © 2010 eXo Platform SAS. All Rights Reserved.