export db-structure