WorkspacePersistentDataManager dataManager =
(WorkspacePersistentDataManager)workspaceContainer.getComponent(WorkspacePersistentDataManager.class);
FileCleaner fileCleaner =
((FileCleanerHolder)workspaceContainer.getComponent(FileCleanerHolder.class)).getFileCleaner();
JCRRestore restorer = new JCRRestore(dataManager, fileCleaner);
restorer.incrementalRestore(new File(pathBackupFile));
}
/**
* Write parameters to RegistryService.
*