---
title: Purge workspace storage
description: Learn how to permanently purge workspace storage in Databricks, such as deleted notebook cells, entire notebooks, experiments, or cluster logs.
canonical_url: https://docs.databricks.com/aws/en/admin/workspace-settings/storage
---

# Purge workspace storage

Your organization's privacy requirements may require that you occasionally purge deleted objects like notebook cells, entire notebooks, experiments, or cluster logs.

## <a id="purge-workspace" />Purge workspace objects

You can delete workspace objects such as entire notebooks, individual notebook cells, individual
notebook comments, and experiments, but they are recoverable.

To permanently purge deleted workspace objects:

1. Go to the [settings page](https://docs.databricks.com/aws/en/admin/admin-concepts.md#admin-settings).
2. Click the **Advanced** tab.
3. In the **Storage** section, click the **Purge** button next to **Permanently purge workspace storage**.
4. Click the **Purge** button.
5. Click **Yes, purge** to confirm.

   > [!WARNING]
   >
   > Once purged, workspace objects are not recoverable.

## Purge notebook revision history

To permanently purge notebook revision history:

1. Go to the [settings page](https://docs.databricks.com/aws/en/admin/admin-concepts.md#admin-settings).
2. Click the **Advanced** tab.
3. In the **Storage** section, next to **Permanently purge all revision history**, select the timeframe to purge. The default is **24 hours and older**.
4. Next to the timeframe, click the **Purge** button.
5. Click the **Purge** button.
6. Click **Yes, purge** to confirm.

   > [!WARNING]
   >
   > Once purged, version history is not recoverable.

## Purge cluster logs

To permanently purge Spark driver logs and historical metrics snapshots for all clusters in the workspace:

1. Go to the [settings page](https://docs.databricks.com/aws/en/admin/admin-concepts.md#admin-settings).
2. Click the **Advanced** tab.
3. Next to **Permanently purge cluster logs**, click the **Purge** button.
4. Click **Yes, purge** to confirm.

   > [!WARNING]
   >
   > Once purged, cluster logs are not recoverable.
