code: public void restore(RepositoryBackupChainLog log, RepositoryEntry repositoryEntry, boolean asynchronous,
        boolean removeJobOnceOver) throws BackupOperationException, BackupConfigurationException, RepositoryException,
        RepositoryConfigurationException
     {
        if (repositoryEntry == null)
        {
           if (log.getOriginalRepositoryEntry() == null)
           {
              throw new RepositoryRestoreExeption("The backup log is not contains original repository log : "
                 + log.getLogFilePath());
           }
  
           this.restore(log, log.getOriginalRepositoryEntry(), asynchronous);
           return;
        }
  
        this.restoreRepository(log, repositoryEntry, null, asynchronous, removeJobOnceOver);
     }
docs: {@inheritDoc}