remove unused function: exportdb