# Removing backups from S3-compliant storages

## Removing backups from S3 storages with versioning enabled&#x20;

When using **S3** or **S3**-compliant storage with versioning enabled, files deleted through **Xopero ONE** <mark style="color:$danger;">may not be physically removed</mark>. Although the files are no longer visible in the bucket, they may still occupy storage space.

{% hint style="info" %}
If you do not want data to be versioned, disable the versioning mechanism in the bucket settings. Otherwise, you can regularly delete the files.
{% endhint %}

#### To permanently delete files inside the bucket, follow these steps:

1. Sign in to the **AWS Management Console** and open the [**Amazon S3** console](https://console.aws.amazon.com/s3/).
2. In the **Buckets** list, choose the name of the bucket that contains the object.
3. In the **Objects** list, choose the name of the object.
4. Choose **Versions** (**Amazon S3** shows all the versions for the object).
5. Select the check box next to the **Version ID** for <mark style="color:$danger;">each version that you want to permanently delete</mark>.
6. Choose **Delete**.
7. In **Permanently delete objects?**, enter `permanently delete`.&#x20;
8. Choose **Delete objects**.

{% hint style="danger" %}
When you permanently delete an object version, the action <mark style="color:$danger;">**cannot be undone**</mark>.
{% endhint %}

***

## Useful links and items

{% embed url="<https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectVersions.html>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpcenter.xopero.com/xopero-one-en/backup-plans-and-features/backup-deletion/removing-backups-from-s3-compliant-storages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
