final String dateTime = DataBackup.creationDateFormat.format(Calendar.getInstance().getTime());
final String dest = directory.getAbsolutePath() + File.separatorChar + prefix + dateTime + suffix;
final Backup backup = new Backup(user, password, dest, collection);
try {
backup.backup(false, null);
} catch (final XMLDBException e) {
LOG.debug(e.getMessage(), e);
throw new EXistException(e.getMessage(), e);
} catch (final IOException e) {
LOG.debug(e.getMessage(), e);