> For the complete documentation index, see [llms.txt](https://helpcenter.gitprotect.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.gitprotect.io/backup-plans-and-features/backup-deletion/general-information.md).

# General information

## Data deletion

Data deletion is a fundamental process in every backup system. Some backup mechanisms perform data deletion automatically, while others require manual execution by the administrator.

{% hint style="danger" %}
Whenever you attempt to delete data manually, **GitProtect** system will **always** request confirmation before proceeding.
{% endhint %}

### <mark style="background-color:blue;">Automatic deletion</mark>

Automatic deletion is handled through the **retention policy** configured for each backup plan. Available retention options include:

1. **Infinite** — data is never deleted.
2. **Time-based** — data is retained for a defined period.
3. **Copy-based** — data is retained for a specified number of backup versions.

Retention policies ensure that older backup versions remain available for recovery while preventing storage from reaching its full capacity.

### <mark style="background-color:blue;">Manual deletion</mark>

Manual deletion may be necessary when storage is already full and you need to free up space to continue running your backup plans. Manual deletion is performed by the system administrator and can be initiated at any time.

***

## Requirements

The requirements for data deletion are:

* [x] At least one backup must be stored in the selected storage.
* [x] A **worker** application must be installed on a device that is currently online.


---

# 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.gitprotect.io/backup-plans-and-features/backup-deletion/general-information.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.
