full db export/template generation