if (isRepositoryExist(rEntry.getName()))
{
throw new RepositoryRestoreExeption("Repository " + rEntry.getName() + " already exist!");
}
RepositoryBackupChainLog backupChainLog = new RepositoryBackupChainLog(backupLog);
backupManager.restore(backupChainLog, rEntry, true);
// Sleeping. Restore should be initialized by job thread
Thread.sleep(100);