removeObsoleteBackupFiles(DB_FOLDER_NAME);
try {
ExtObjectContainer extDb = db.ext();
if (!extDb.isClosed()) {
extDb.backup(backupFileName);
logger.debug("successfully created new DB4O backup '{}' in {}ms", backupFileName, System.currentTimeMillis() - startTime);
} else {
logger.debug("couldn't create DB4O backup '{}' because db is closed", backupFileName);
}
} catch(Db4oException e) {