MongoDB to FS migration.

  • I have some client customizations stored in MongoDB, now Mongo is being replaced with RDBMS in my app, and I want to migrate the MongoDB data to FS. How can we replicate the same FS structure by migrating the MongoDB data?

  • You can use the jsreport export from the env with mongodb and jsreport import to the env with FS store.

    This will migrate all the structures except instance data and version control commits.

  • Thanks @admin, for pointing me in the right direction, I plan to use js-report cli to migrate. The question I now have is, as the migration runs during the version upgrade when all pods are down. how can the cli will access the js-report instance?

  • The jsreport export command actually starts internally jsreport instance.

Log in to reply

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.