# Versions and recovery

> How Hyperclay protects your work with version history, a 30-day Trash, and full workspace zip exports.

Source: https://hyperclay.com/docs/guide/versions/

Hyperclay gives you three ways to recover from mistakes and keep copies of your work: version history on every document, a 30-day Trash for deleted files and folders, and zip exports you can store on your own computer.

## Roll back edits with version history

As you and your collaborators edit a document, Hyperclay records snapshots in the document's **Versions** tab. You can browse the latest 50 versions, click **View** to inspect an earlier snapshot, or click **Restore** to replace the current document with that version.

Restoring a version always saves a backup of the current document first, so rolling back never costs you the state you had right before the restore. See [Version history](https://hyperclay.com/docs/version-history/).

## Recover deleted items from Trash

Deleting a document, uploaded file, or folder moves it to **Trash** rather than erasing it immediately. When you delete a folder, the folder and everything inside it stay together in **Trash** as one recoverable unit.

Deleted items and their version history remain in **Trash** for 30 days. Account owners and team editors can open **Account menu**, choose **Trash**, and click **Restore** to return an item to its original folder. See [Trash](https://hyperclay.com/docs/trash/).

## Keep your own copies with export

Every malleable document is a standard HTML file that you can keep outside Hyperclay:

- To save a copy of one document, open its **Actions for** menu and click **Download** to download the `.htmlclay` file.
- To back up everything you own at once, open **Account menu** and click **Export workspace** to download a single `.zip` containing every folder, document, and uploaded file in your workspace.

See [Import and export](https://hyperclay.com/docs/import-export/) for full details on downloading and re-importing your files.

## Unsaved writing kept in your browser

The Journal, Kanban and Block editor templates also keep a copy of writing that has not saved yet, in your browser. If a tab closes or the connection drops before a save lands, the document offers that writing back the next time you open it in edit mode, and you choose whether to keep it. This copy lives only in that browser and is not a version. See [Recovery](https://clayjs.com/docs/recovery/).
