mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

lutoff
09.49.2008 1c859d6650467434b076c6ca079628194220cb5b
opends/src/server/org/opends/server/tasks/BackupTask.java
@@ -422,6 +422,18 @@
        {
          backupDir = BackupDirectory.readBackupDirectoryDescriptor(
               backupLocation.getPath());
          // Check the current backup directory corresponds to the provided
          // backend
          if (! backupDir.getConfigEntryDN().equals(cfg.dn()))
          {
            Message message = ERR_BACKUPDB_CANNOT_BACKUP_IN_DIRECTORY.get(
                b.getBackendID(),backupLocation.getPath(),
                backupDir.getConfigEntryDN().getRDN().
                getAttributeValue(0).getStringValue());
            logError(message);
            return false ;
          }
        }
        catch (ConfigException ce)
        {