Backing up and Importing Sisense Assets

Sisense supports a variety of methods to export your data models and dashboards, and then import them if necessary.

Exporting these Sisense assets allows you to implement a version control practice for your data models and dashboards, which can be useful if there is ever a problem with Sisense.

Data Models

You can either use the Sisense interface, REST API commands, or the Sisense CLI to export your data models from and import the models back to Sisense. The data models are exported as an .sdata file.

Sisense

You can export and import your models as described in Exporting and Importing Data Models.

REST API

Use the following endpoints to export and import the data models (Limitation: there is a 2Gb limit):

To export data models as a stream:
GET {{URL}}/api/v2/datamodel-exports/stream/full

To import the data models:
POST{{URL}}/api/v2/datamodel-imports/stream/full

Sisense CLI

Use the following commands to export data models as an .sdata file (data and schema) and import the data models:

To export the ElastiCube:
si elasticubes export -name Model Name

The ElastiCube is exported to /opt/sisense/storage/backups/

To import the ElastiCube:
si elasticubes import -path /opt/sisense/storage/path/to/NameOfCube.sdata\" -start false

Dashboards

You can either use the Sisense interface or REST API commands to export from and import dashboards back to Sisense.

Sisense

You can export and import your models as described in Exporting and Importing Data Models.

REST API

You can use the following endpoints to export and import the dashboards:

To export the dashboards as a JSON object (.dash file):
GET {{URL}}/api/v1/dashboards

To import the dashboards:
POST {{URL}}/api/v1/dashboards/import/bulk