f.getParentFile().mkdirs();
f.createNewFile();
OIOUtils.writeFile(f, configuration.toJSON("prettyPrint"));
OLogManager.instance().info(this, "Automatic Backup: migrated configuration to file '%s'", f);
} catch (IOException e) {
<BUG>OException.wrapException(new OConfigurationException("Cannot create Automatic Backup configuration file '" + configFile
</BUG>
+ "'. Automatic Backup will be disabled"), e);
}
}

f.getParentFile().mkdirs();
f.createNewFile();
OIOUtils.writeFile(f, configuration.toJSON("prettyPrint"));
OLogManager.instance().info(this, "Automatic Backup: migrated configuration to file '%s'", f);
} catch (IOException e) {
throw OException.wrapException(new OConfigurationException("Cannot create Automatic Backup configuration file '" + configFile
+ "'. Automatic Backup will be disabled"), e);
}
}
