code: public void restoreExistingWorkspace(String workspaceBackupIdentifier, String repositoryName,
        WorkspaceEntry workspaceEntry, boolean asynchronous) throws BackupOperationException,
        BackupConfigurationException
     {
        BackupChainLog backupChainLog = null;
  
        for (BackupChainLog chainLog : getBackupsLogs())
        {
           if (chainLog.getBackupId().equals(workspaceBackupIdentifier))
           {
              backupChainLog = chainLog;
              break;
           }
        }
  
        if (backupChainLog == null)
        {
           throw new BackupConfigurationException("Can not found backup of workspace with id \""
              + workspaceBackupIdentifier + "\"");
        }
  
        this.restoreExistingWorkspace(backupChainLog, repositoryName, workspaceEntry, asynchronous);
     }
docs: {@inheritDoc}