# Exporting and importing the workspace configuration

{% hint style="info" %}
**Required workspace permission:** Export and import workspace
{% endhint %}

You can export a workspace configuration to a JSON file, and import configuration from a workspace configuration JSON file.

For example, you might want to preserve a version of the workspace configuration before you test other changes. You can then use the exported file to restore the original configuration.

Or you might want to use a script to make changes to an exported configuration file. You can then import the updated file to update the workspace configuration.

## Information in the exported file <a href="#workspace-config-file-info" id="workspace-config-file-info"></a>

The workspace JSON configuration file includes the following information:

* Sensitivity designations that you assigned to columns
* Assigned table modes
* Assigned column generators
* Subsetting configuration
* Post-job script configuration

## Exporting the workspace configuration <a href="#workspace-export-config" id="workspace-export-config"></a>

To export the workspace configuration, either:

* On the workspace management view, from the download menu, select **Export Workspace**.

<figure><img src="https://3378426797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSQCLFQ4bslJ-HYc8c3%2Fuploads%2FCsaG8R7SCXrd6qjpME0m%2FWorkspaceDownloadMenu.png?alt=media&#x26;token=23794c6e-5bb8-404f-a9ad-f5b3ce5a11a5" alt=""><figcaption><p>Download menu for a workspace</p></figcaption></figure>

* On **Workspaces** view, click the actions menu for the workspace, then select **Export**.

![Workspace options column and dropdown list](https://3378426797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSQCLFQ4bslJ-HYc8c3%2Fuploads%2FOtZWZAQCxaIXeJwAe2rO%2FWorkspaceOptionsColumn.png?alt=media\&token=2d9d03c5-25e9-45cb-b398-ecb09f65da14)

When you export a child workspace, the exported workspace does not retain any of the inheritance information. The exported information is the same for all exported workspaces.

## Importing a workspace configuration file <a href="#workspace-import-config" id="workspace-import-config"></a>

To import a workspace configuration file:

1. Select the import option. Either:
   * On the workspace management view, from the download menu, select **Import Workspace**.
   * On **Workspaces** view, click the actions menu for the workspace, then select **Import**.
2. On the **Import Workspace** dialog, to select the file to import, click **Browse**.
3. After you select the file, click **Import**.

When you import a workspace configuration into a child workspace, Tonic Structural only updates the configuration that can be overridden. If a configuration must be inherited from the parent workspace, then it is not affected by the imported configuration. For more information, go to [workspaces-inheritance](https://docs.tonic.ai/app/workspace/managing-workspaces/workspaces-inheritance "mention").
