Import and export
With Daikoku, you can easily save the current state of the instance and restore it later. Go to Settings (avatar icon) / Organizations settings
and then import/export
.
Full export
Click on the download state
button.
Your browser will start downloading a ndjson file containing the internal state of your Daikoku instance.
Audit trail store could be massive, you can exclude this collection from export by toggle the button below the
download state
button.
Full import
If you want to restore an export, Go to settings (avatar icon) / Organizations settings
and then import/export
. Click on the import state
button and choose your ndjson export file.
Database migration
Since v1.1.1 Daikoku supports Postgresql databases. If you want to migrate you MongoDB to Postgresql, it's dead simple like the following instructions.
Since v18.0.0, Daikoku does not support MongoDB anymore. To run database migration, you need to be in 16.3.6 max.
- Add your Postgresql access in Daikoku configuration
- Keep mongo as daikoku.storage configuration
- Run the migration
- Update your daikoku.storage to postgres
- Restart your Daikoku
- Remember to disable the maintenance mode