> For the complete documentation index, see [llms.txt](https://helpcenter.xopero.com/xopero-one-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.xopero.com/xopero-one-en/backup-plans-and-features/backup-deletion/removing-backups-from-s3-compliant-storages.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` 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>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
