Tuesday, 14 May 2013

NextReports Server: Data Migration

NextReports Server 6.1 will bring a new feature: data migration. Practically, a new section, visible only by administrators, is added.


From this section, administrator can export or import data. For data export we must select some entities like data sources, reports, charts and dashboards. The result will be a migration.xml file. There is no need to know which entities are used (referenced) by selected entities. All referenced entities will be automatically exported. Take a look at the following image:


We see that dashboard contains widgets. Widget contains a report or a chart. Report / Chart contains a data source and optionally links through drill-down to other reports or charts. So, by exporting a single dashboard, all entities that are involved will be exported too.

Any migration file can be used by an import process. When import is launched, a backup zip file of the entire repository is done. Any imported entity which has an id found inside repository will be updated. If id is not found, a new entity is created, taking care of name collision.

Migration process must not interfere with repository modification. Because of that, NextReports Server will show a maintenance page when export or import is running:



No comments:

Post a Comment