> For the complete documentation index, see [llms.txt](https://docs.libnova.com/libsafe-advanced-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.libnova.com/libsafe-advanced-manual/get-started/file-versioning-and-recovery.md).

# File versioning and recovery

**LIBSAFE Go** supports file-level versioning and deleted items recovery.

If a container is using a storage class that supports versioning, every time a file is changed all previous versions are also kept. If a file is deleted, it is also possible to undelete it.

## Listing previous versions of a file

To list previously existing versions of a file, **right-click over it,** select **Properties** and go to the **Versions** tab:

![](/files/-MgkDaXcBvPeZd17pslH)

If you want to restore a previous version, select **Restore.**

{% hint style="info" %}
The version restoring process usually takes a few minutes to complete. Restored files are moved to the same folder in which the current file is, with the following format: (original file name.extension)\_(version key)\_(timestamp).
{% endhint %}

## Deleting existing file versions

Versioned files use storage space. If you want to delete the previous versions of a file, **right-click over it,** select **Properties** and go to the **Versions** tab and select the **Delete** icon:

![](/files/-MgkDcmFsAuZnS-2HH_V)

## Recovering deleted files

To recover deleted files in a container, go to the **Storage** tab and scroll down to the **Deleted Items** section. A list of the deleted files will be shown:

![](/files/-MgkDjlWzXGNYNfl7cQ6)

To restore a file, select **Restore.**

## **Deleting deleted files**

If you want to delete all previously deleted files from a container, go to the **Storage** tab and scroll down to the **Deleted Items** section. Select the **Delete** icon:

![](/files/-MgkDnFosYAJYcQouFOs)

{% hint style="danger" %}
Once deleted, the versions or the deleted files, it is impossible to recover them. Files are lost forever.
{% endhint %}

{% hint style="danger" %}
Changing the storage class or type for a file removes all its previous versions, making it impossible to recover previous ones.
{% endhint %}
