DataLab Docs
  • What is DataLab?
  • Work
    • Creating a workbook
    • Sharing a workbook
    • Managing a workbook
    • Code cell
      • Working with packages
    • Text cell
      • Including images
    • SQL cell
      • SQL scenarios
      • Parameterize your SQL query
    • Explore Data cell
    • Chart cell
      • Configuring your chart
      • Pivot charts
      • Migration guide
    • AI Assistant
    • Version history
    • Scheduled runs
    • Hiding and showing cells
    • Long-running cells
    • Report view
    • Environment variables
    • Git and GitHub
  • Connect to Data
    • Connect your data to DataLab
    • Sharing a Data Source
    • Airtable
    • Amazon Athena
    • Amazon S3
    • Databricks
    • Dropbox
    • Files
    • Google Drive
    • Google BigQuery
    • Google Sheets
    • MariaDB
    • Microsoft SQL Server
    • MongoDB
    • MotherDuck
    • MySQL
    • Oracle Database
    • PostgreSQL
    • Redshift
    • Snowflake
    • Supabase
  • Guides
    • Publish a notebook
    • Importing data from flat files
    • Resizing plots
    • Show Bokeh and Pyvis plots
  • Resources
    • Pricing
    • Manage group settings
    • Reporting for Group Admins
    • DataLab for education
    • Technical requirements
    • Addressing slow code
    • Address R vulnerability
    • Get help
Powered by GitBook
On this page
  • New versions are automatically created
  • Access version history
  • Restoring a version

Was this helpful?

  1. Work

Version history

PreviousAI AssistantNextScheduled runs

Last updated 12 months ago

Was this helpful?

With version history, you can review and restore previous versions of notebooks in your workbook. To access the version history of a workbook, you need edit access to the workbook.

New versions are automatically created

All changes you make to notebook files are automatically saved and a new version (attributed to the user that made the change) is created automatically as well. This happens every minute when there are new changes.

Access version history

You can access the version history of a workbook in two ways:

  • When in the editor, click on "Last edit was ... ago" in the toolbar:

  • When in the editor, click on "File > View version history".

You now land in a new view with an overview of all previous version of the notebook on the right hand side. If there are multiple notebooks in your workbook, you can cycle through the version history of every notebook separately by clicking on the notebook file name in the navbar.

Restoring a version

This is a safe operation: the restored version is simply a new version in the version history. You can simply undo the operation by restoring to a version from before the restored version (pretty meta).

You can restore an older version of the notebook by clicking on the three dots next to a version and selecting "Restore this version":