Migration
Migrating manager application data
datatools-server offers a way to migrate application data (e.g., due to either breaking application schema changes or server changes). Note: this process requires temporarily exposing a GET request that exposes the entirety of the manager database.
- Set the config setting
modules:dump:enabledtotrue. - Restart the application.
- Download copy of application data to local json file
curl localhost:4000/dump > db_backup.json. - Change dump config setting back to
false. - (optional) If looking to reload into the existing server, delete the manager mapdb (
.dband.dbp) files inapplication:data:mapdb - Follow instructions in
/scripts/load.pyto upload the json data to the new server.