Working with checkpoints
Warning
The Serverlesss mode will be discontinued on March 1, 2024.
You can find a list of checkpoints on your project page under Project resources →
Note
Checkpoints are not available in Dedicated mode as it does not allow saving a state.
Creating a checkpoint
In standard state save mode, checkpoints are created automatically after running a cell or group of cells. A checkpoint is also created if computations in a cell failed.
In automatic state saving mode, you can create a checkpoint manually when working in JupyterLab. To do this, use the Cmd + K or Ctrl + K shortcut.
A new checkpoint appears at the top of the Checkpoints list. If the list already contains 10 unsaved checkpoints, when saving a new checkpoint, the oldest one is deleted.
Pinning a checkpoint
Pinned checkpoints are protected against automatic deletion, you can share them and use them to create nodes.
-
Select the relevant project in your community or on the DataSphere homepage
in the Recent projects tab. - Under Project resources, click
Checkpoint. - In the line with the appropriate checkpoint, click
and select Pin. - In the window that opens, enter the name of the checkpoint to save.
- Click Pin.
You can also pin a checkpoint when viewing its information.
Pinned checkpoints are marked with
.Each project may contain a maximum of 10 pinned checkpoints.
Unpinning a checkpoint
-
Select the relevant project in your community or on the DataSphere homepage
in the Recent projects tab. - Under Project resources, click
Checkpoint. - In the line with the appropriate checkpoint, click
and select Unpin.
Note
If the list of checkpoints already contains 10 checkpoints and you're unpinning the oldest checkpoint, it will be automatically deleted after you unpin it.
Editing a checkpoint
Since checkpoints are created automatically, you can only change the name of a pinned checkpoint.
-
Select the relevant project in your community or on the DataSphere homepage
in the Recent projects tab. - Under Project resources, click
Checkpoint. - In the line with the appropriate checkpoint, click
and select Edit. - Enter a new name for the checkpoint.
- Click Save.
Applying a checkpoint
-
Select the relevant project in your community or on the DataSphere homepage
in the Recent projects tab. - Under Project resources, select
Checkpoint. - Select the checkpoint from the list.
- Click Apply at the top right.
- Click Apply.
Wait for the operation to complete.
After restoring the state, a new checkpoint with the Rollback
operation type is created.
Sharing a checkpoint in a community
Only a community admin can share a checkpoint in the community. A checkpoint available to the community appears in the list of community resources.
-
Select the relevant project in your community or on the DataSphere homepage
in the Recent projects tab. - Under Project resources, click
Checkpoint. - Select the checkpoint from the list.
- Go to the Access tab.
- Enable the visibility option next to the name of the community to share the checkpoint in.
Sharing a link to a checkpoint
A project or community admin can share a direct link to a checkpoint. This checkpoint will be available at the link to all organization users while it's pinned in the list of project checkpoints.
-
Select the relevant project in your community or on the DataSphere homepage
in the Recent projects tab. - Under Project resources, click
Checkpoint. - In the line with the appropriate checkpoint, click
and select Share. - Click Copy link.
The link to the checkpoint is copied to the clipboard.
Creating a project from a checkpoint
- Select the checkpoint in the list of project checkpoints or follow the direct link to the checkpoint.
- Click
and select Create project from checkpoint. - In the Create project window, enter a name and description for the project.
- Click Create.
The page of the created project opens.
Deleting a checkpoint
-
Select the relevant project in your community or on the DataSphere homepage
in the Recent projects tab. - Under Project resources, click
Checkpoint. - In the list, select the checkpoint to delete.
- Click
and select Delete. - Click Confirm.
You will see a message saying that the resource has been deleted.