# 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.
