> For the complete documentation index, see [llms.txt](https://docs.libnova.com/labdrive/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/labdrive/get-started/file-versioning-and-recovery.md).

# File versioning and recovery

LABDRIVE supports file-level versioning and deleted items recovery.&#x20;

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/-MfDacTpOVNlu4hf9XrQ)

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/-MfDcPro7bORmBBFEiZL)

### 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/-MfDbck1CqHCJNdc-5NR)

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/-MfDcuESGXwB38D3f3RV)

{% 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 previos versions, making impossible to recover previous ones.
{% endhint %}
