Migrate or restore pinboards

You can export an entire ThoughtSpot Pinboard in a flat-file format. After optional modification, you can migrate it to a different cluster, or restore it to the same cluster.

Scriptability for Answers and Pinboards is in beta. To enable Scriptable Answers and Pinboards, contact ThoughtSpot Support.

In ThoughtSpot, you can download Pinboards to a flat file in TSL, ThoughtSpot’s Scripting Language, modify the file, and subsequently upload this file either to the same cluster, or to a different cluster.

This mechanism supports several scenarios that you may encounter:

  • Migrating from a development environment to a production environment by downloading the file from the development cluster and uploading the same file to the production cluster

  • Implementing metadata changes outside ThoughtSpot UI, such as replacing the underlying data source for the entire Pinboard, or replacing a single column from one data source with a column in another data source

  • Reusing existing objects to build new objects, such as building two very similar objects based on a similar, pre-existing object.

Starting with ThoughtSpot release 6.3, ThoughtSpot Scripting Language (TSL) is called ThoughtSpot Modeling Language (TML). Files from version 6.3 and later have a .tml extension. However, you can import files from 6.2.1 and earlier, with a .tsl extension, to 6.3 and later environments with no issue.


Export with dependents Export without dependents Import with dependents Import without dependents

View permission for the Pinboard. View permission on all underlying tables and Worksheets. For example, if a Pinboard is built on top of a Worksheet that is built on top of a View, you must have view permission for all of these objects.

View permission for the Pinboard.

If you are not overwriting the existing dependents, you must have the can manage data permission. If you are overwriting the existing dependents, you must have the can manage data permission, and edit permission on the dependents.

You must have view permission for the dependents that the Pinboard directly depends on. For example, if a Pinboard is built on top of a Worksheet that is built on top of a View, you must have view permission for the Worksheet, not the View.

Export Pinboard

You can export one Pinboard at a time, or export more than one Pinboard as a zip file. The zip file contains a document called the Manifest file, which defines the objects you exported, and their underlying data sources.

To export one Pinboard:

  1. Navigate to the Pinboard you want to export.

  2. Click the three-dot icon, and select Export as .tsl.

    Export a Pinboard

To export multiple Pinboards at a time, follow these steps:

  1. Navigate to the Pinboards page from the top navigation bar.

    The top navigation bar
  2. Hover over the Pinboards you want to export, and click the empty checkboxes that appear.

  3. Select the Export button.

    Export multiple Pinboards
  4. Choose whether to export only the Pinboards, or the Pinboards and their underlying data sources:

    Choose what to export
  5. Click Export.

    Click Export
  6. Open the downloaded .tsl zip file:

    Zip file

Edit the Pinboard .tsl file

You can edit the Pinboard .tsl file before you import it. Refer to Pinboard TSL specification for the full syntax of the TSL file.

Update a Pinboard

To update an existing Pinboard, you must export the .tsl file, make any necessary changes, and then upload it as a new Pinboard. You cannot overwrite an existing Pinboard. Instead, you must create a new Pinboard.

Migrate a Pinboard

To migrate a Pinboard from one cluster to another, follow these steps:

  1. Export the Pinboard you want to move, as in steps 1 to 5 of the Export Pinboard section above.

    The Pinboard remains on the original cluster as well, unless you delete it.

  2. Navigate to the cluster you want to add the Pinboard to.

  3. Select Pinboards on the top navigation bar.

  4. Select the Import button in the upper-right side of the screen.

    Import a Pinboard
  5. In the Import interface, click Select .tsl file to upload.

    Select a file
  6. In your file system, find and select the .tsl file. The file uploads automatically.

  7. If you constructed the file correctly, the Import interface displays an Upload successful message.

  8. To examine the new Pinboard, click Done.

    Upload successful

Related information

Was this page helpful?