exportdb.py