throws RepositoryException, RepositoryConfigurationException, BackupOperationException, FileNotFoundException,
IOException, ClassNotFoundException
{
WorkspaceContainerFacade workspaceContainer =
repoService.getRepository(repositoryName).getWorkspaceContainer(workspaceName);
WorkspacePersistentDataManager dataManager =
(WorkspacePersistentDataManager)workspaceContainer.getComponent(WorkspacePersistentDataManager.class);
FileCleanerHolder cleanerHolder = (FileCleanerHolder)workspaceContainer.getComponent(FileCleanerHolder.class);
JCRRestore restorer = new JCRRestore(dataManager, cleanerHolder.getFileCleaner());
restorer.incrementalRestore(new File(pathBackupFile));