V2 Mongo to V3 FS migration



  • We are supporting multiple versions of JsReport deployments currently with the mongoDB store and we have created a migration script that exports reports from MongoDB with JsReport-cli.

    The script uses cli v3 to export data from MongoDB, although the MongoDb store might have v2 or v3 reports depending on the deployment on which the migration script is being executed.

    Ultimately, we want to create an export file that will be compatible with our latest V3 FS store deployment, is there a way to achieve this?



  • The error-prone process would be to start your local v2 instance and import there compatible export. Then update the local v2 instance to v3 and let it process changes during the start. Check everything works properly and then make the final export you need.


Log in to reply
 

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