}
boolean includeFiles = Boolean.parseBoolean(cmdl.getOptionValue("exclude-files", "true"));
File backup_dir = new File(OmFileHelper.getUploadTempDir(), "" + System.currentTimeMillis());
backup_dir.mkdirs();
BackupExport export = getApplicationContext(ctxName).getBean(BackupExport.class);
export.performExport(f, backup_dir, includeFiles);
FileHelper.removeRec(backup_dir);
backup_dir.delete();
} catch (Exception e) {
handleError("Backup failed", e);
}