# Versioning

## <mark style="color:green;">**Overview**</mark> <a href="#overview" id="overview"></a>

**S3 Versioning** allows you to keep multiple versions of an object in the same bucket, protecting against accidental deletions and enabling easy recovery of previous file versions when needed.

## <mark style="color:green;">**Procedure**</mark> <a href="#procedure" id="procedure"></a>

{% stepper %}
{% step %}
**Step 1:** Right-click to Bucket, choose “Versions” to enable file versioning for a Bucket, and view all versions of files in that Bucket.

<figure><img src="/files/x0EeRSsHiCEhGHbVWZ2l" alt=""><figcaption></figcaption></figure>

{% endstep %}

{% step %}
**Step 2:** previous versions of files, ensuring data recovery and protection from accidental deletions or overwrites.

<figure><img src="/files/bpHMdNUXsO8bvw5hbZHd" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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://docs.higiocloud.vn/hi-gio-s3-storage/bucket-management/versioning.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.
