# File-level backup

#### File-level backup protects selected directories and individual files on your device.

***

## Creating a backup plan

{% stepper %}
{% step %}
Log in to [**XMS**](#user-content-fn-1)[^1], go to the **Backup** tab (**Plans** > **Backup**) and click the **+ Add plan** button in the top toolbar.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2Fd0F5f5WhfSR9uvIlOIH6%2Fimage.png?alt=media&#x26;token=25d5ea87-098c-479d-b73f-70fd4e31c0a3" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select **Devices** from the platforms list.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2F4ZVwNgz1HAtRTmTxa3il%2Fimage.png?alt=media&#x26;token=50f868db-0b47-41cc-8e02-d6649344a33f" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
In the next aside, select **Files & folders** option and choose one or more devices for the plan to apply to (you can also select the plan to include all activated devices).

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FhOZaol42pbVF5MPFOkNJ%2Fimage.png?alt=media&#x26;token=9c53d8d2-0598-4c17-ac99-3309a79e0838" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Define the name of the backup plan.
{% endstep %}

{% step %}
In the **Data to protect** section, select the data you want to include in the backup plan:

1. **Global rules** allow you to define locations that will apply to all selected devices. This method offers three options to choose from:
   1. **Path** — allows you to manually enter the file or folder path.
   2. **System variable** — enables the use of OS variables such as `USERPROFILE`, `ALLUSERSPROFILE`, or `SystemRoot`.\
      \
      ‼️**When specifying a variable in Xopero ONE, percent signs `%`** <mark style="color:red;">**must be omitted**</mark>**.**<br>
   3. **Xopero variable** — provides a predefined list of variables such as `SYSTEM_DISK`, `ALL_DISKS`, and `HOMES`.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2Fav7T1KXRZugHnMDDalzm%2Fimage.png?alt=media&#x26;token=8049f9fe-6d8a-43ce-bbef-30bad5c64cb5" alt=""><figcaption></figcaption></figure>

2. **Select from device** — this method allows you to choose paths individually for each device by connecting remotely to its file system.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2Fod5Qfq4gOQtnLyI4VUcy%2Fimage.png?alt=media&#x26;token=ce666e23-2be4-44fa-8dbc-2a2053cdf828" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
When creating a backup plan, you can use filters to gain better control over the files being backed up.

{% hint style="success" %}
All information about filters and how to use them can be found in [this article](https://helpcenter.xopero.com/xopero-one-en/management/backup-plans/filters).
{% endhint %}

{% hint style="danger" %}
Filters are available <mark style="color:red;">**only in the file-level backup plan**</mark>.
{% endhint %}
{% endstep %}

{% step %}
Specify the backup location by choosing from the available storage options within your service.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FQvqHvZdTuCaE6pBAxIP4%2Fimage.png?alt=media&#x26;token=581e4f12-1661-4fc5-8ef7-af24affb9446" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Configure the [**Scheduler & data retention** settings](https://helpcenter.xopero.com/xopero-one-en/management/scheduler-and-retention) by defining when backups should run and which types of backup copies to use.

{% hint style="danger" %}
Set the retention policy to determine how long backups are stored — any copies exceeding this period <mark style="color:red;">**will be automatically deleted**</mark>.
{% endhint %}

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2F8dpkkYg7BsXGb6ERheGA%2Fimage.png?alt=media&#x26;token=315d8750-d3bc-4eb6-b8bc-6bac78056a65" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Go to the **Advanced settings** section to customize additional options, including encryption, compression levels, and bandwidth limit. These settings provide greater flexibility and help optimize the backup process.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FI8ABUBjA4Bfa2UczzqUa%2Fimage.png?alt=media&#x26;token=b7bab2e4-dca6-4297-a054-8cb5f7674153" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
After completing the configuration, click the **Save** button. The protection plan will then automatically begin protecting your devices according to the schedule you defined.&#x20;

{% hint style="success" %}
You can also click **Save\&Run** button to immediately start the backup process, regardless of schedule.
{% endhint %}
{% endstep %}
{% endstepper %}

[^1]: Xopero ONE Management Service
