Fix database migration
Update DBM tool to use local config and dump full DB