class EmbeddedOpenDJBackupManager {

    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());
        }
    }

    public  EmbeddedOpenDJBackupManager(Debug logger, ZipUtils zipUtils, String baseDirectory);

}