bugfix for export db during upgrade
Merge pull request #77 from elcabong/Dev

bugfix for export db during upgrade