reset/export DB functionality