export db structure