parse and import a dump into a database