save();
final OStorage storage = newDb.getStorage();
if (OGlobalConfiguration.INDEX_FLUSH_AFTER_CREATE.getValueAsBoolean())
storage.synch();
rebuildCompleted = true;
OLogManager.instance().info(this, "%d indexes were restored successfully, %d errors", ok, errors);
}