# Compression

## Understanding compression

Compression is the process of reducing the size of data before it is stored in a backup. It minimizes storage usage and can improve transfer speed by decreasing the amount of data that needs to be written or transmitted.

In **Xopero ONE**, compression is enabled by default to reduce the time needed to transfer backup copies to storage and to minimize the storage space needed to keep them.

***

## Configuring compression settings

Compression can be enabled when creating a new backup plan in [**XMS**](#user-content-fn-1)[^1]. You can find it in the backup plan's advanced settings (**Advanced settings** > **Edit** > toggle the **Compression** option to enable it).

Unlike encryption and deduplication, compression settings <mark style="color:$success;">can also be adjusted in an already existing backup plan</mark>.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FaYqrMyVVNy1QDdfpxvfc%2Fimage.png?alt=media&#x26;token=c05e9811-7499-4aee-a001-023eaf33d828" alt=""><figcaption></figcaption></figure>

#### Depending on the type of data being backed up, you can choose between two compression algorithms:

1. **LZ4** — fast compression with a reasonable compression ratio.
2. **Zstandard** — lossless compression algorithm, used in **Xopero ONE** by default.

#### And also three compression levels:

1. **Normal** — compression is faster, but the data takes more storage space.
2. **Medium** — the most optimal level with the best balance between processing time and storage space usage; used by default.
3. **High** — compression takes longer, but the data requires less storage space after compression.

[^1]: Xopero ONE Management Service
