Exporting a Workspace instead of the full project?

I am curious if it is possible to just export a specific Workspace instead of the full Project that contains it? Would it be enough to copy all of the associated Job folders, the S folder, and associated project and workspace.json files to a separate directory to allow for import on another installation?
Any tips are much appreciated!

Hi @andreym,

Thanks for the interesting question- this is definitely possible, but might require some editing of the workspaces.json file in order to only import only a specific workspace.

You will still have to use the “Import Project” utility found at the top of projects page. This means the single workspace will still have to be imported into its own project. First, follow the steps to properly create a copy of your project so the original instance is not affected.
For more information, see: https://cryosparc.com/docs/tutorials/data-management#use-case-archive
Please also note you don’t need to compress the folder, you can also use cp to copy the folder to a different location, for example:

cp -LR <project_folder> <destination> 
# Using -LR will dereference the symbolic links inside 
# the folders when copying, meaning all the raw data will be 
# copied instead of just the symbolic links.

Second, edit the workspaces.json file to only have the workspace you’d like to import (delete everything inside a curly bracket {} for a workspace you don’t want to import).

You can also delete the job folders of jobs that are inside workspaces you don’t want to import. (Be sure not to accidentally remove a job that is linked to the workspace you care about- you can check out the tree view of your workspace to see all the jobs inside it.)

Once those three steps are complete, you should be able to Import a project as you normally would (https://cryosparc.com/docs/tutorials/data-management#use-case-share-project)

Thank you stephan for the reply. I was able to do a test import on a few jobs from a Workspace and a modified json file.