void createOpenDJBackup() throws ConfiguratorException {
  createBackupDirectories();
  File backupFile=getBackupFileLocation();
  File opendjDirectory=new File(baseDirectory,OPENDJ_DIR);
  try {
    zipUtils.zipDirectory(opendjDirectory,backupFile);
  }
 catch (  IOException e) {
    throw new ConfiguratorException("Failed to create OpenDJ backup: " + e.getMessage());
  }
}

void createOpenDJBackup ( ) throws ConfiguratorException { createBackupDirectories ( ) ; File backupFile = getBackupFileLocation ( ) ; File opendjDirectory = new File ( baseDirectory , OPENDJ_DIR ) ; try { zipUtils . zipDirectory ( opendjDirectory , backupFile ) ; } catch ( IOException e ) { throw new ConfiguratorException ( "Failed to create OpenDJ backup: " + e . getMessage ( ) ) ; } }
performs a backup of the embedded opendj instance , including creating the required upgrade and backup directories .
