# Policies

Policies allow you to group cloud instances in many ways. For example, based on the cloud features.

To create a new backup policy, please open the Backup SLAs tab under the Cloud section and click on ![](https://3557270342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2FOE03dnjP5f5aF1buzl%2Fuploads%2FoEuU3JIwbzmPL5VOvu3h%2Fadministration-virtual_environments-backup-slas-schedules_icon.png?alt=media\&token=8f4d4d5a-ae70-4657-960c-9fe8670f8d66)the button on the right.

![](https://3557270342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2FOE03dnjP5f5aF1buzl%2Fuploads%2FuRz1kBTeyCg4Mk8jg7ZR%2Fadministration-virtual_environments-backup-slas-policies_1.png?alt=media\&token=5c37c2b6-a06c-4fd4-81c3-137795efda8b)

Now you should see the policy wizard with 8 main sections.

![](https://github.com/Storware/backup-and-recovery-manual/blob/master/administration/cloud/backup-slas/broken-reference)

## General

Under this section you can set up:

* The policy name
* Switch on/off scheduled backups enabled
* Set the priority for tasks

## Auto-assignment

In this section, you can switch on/off automatic policy assignments to cloud service providers

![](https://3557270342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2FOE03dnjP5f5aF1buzl%2Fuploads%2FguT3Xm5vssRLLdGfJ2WP%2Fadministration-cloud-instances_3.PNG?alt=media\&token=01645d17-8daf-42ae-bed5-59195d93282c)

{% hint style="info" %}
**Note:** Go to the [Account auto-synchronization](https://docs.storware.eu/70/protecting-microsoft-365/microsoft-365-organization-management/account-auto-synchronization) to learn how to synchronize Microsoft 365 accounts.
{% endhint %}

## Features

Here you can easily select features that will be backup according to policy.

![](https://3557270342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2FOE03dnjP5f5aF1buzl%2Fuploads%2Fgit-blob-ec4815a2dc64efaab296ca6282a6eb8e70be9293%2Fadministration-cloud-instances_4.png?alt=media)

## Users / Groups / Sites / Teams

These sections are used to select instances that will be protected in policy.

![](https://3557270342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2FOE03dnjP5f5aF1buzl%2Fuploads%2Fgit-blob-58aff79353d14c54e4dce1b88be986dab8af9258%2Fadministration-cloud-instances_5.png?alt=media)

## Rule

This section is used to select the backup destination.

![](https://3557270342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2FOE03dnjP5f5aF1buzl%2Fuploads%2FJ3Y6Ho4R5l5YQnIZca1D%2Fadministration-cloud-instances_6.png?alt=media\&token=81ddc0de-fae0-4dac-9660-6ff52babccc6)

{% hint style="info" %}
**Note:** You can use only [File System](https://docs.storware.eu/70/deployment/backup-destinations/filesystem/regular-filesystem), [Microsoft Azure Blob Storage](https://docs.storware.eu/70/deployment/backup-destinations/object-storage/microsoft-azure-blob-storage), [Micro Focus Data Protector](https://docs.storware.eu/70/deployment/backup-destinations/enterprise-backup-providers/micro-focus-data-protector) as a backup destination.
{% endhint %}

You can also set here **Retention** settings for your backups. You can use a number of days and versions to keep.

If you have already created a schedule, you can also select it or Create New Schedule.

## Retention

Storware Backup & Recovery handles retention for all backup destinations except NetBackup. There are 2 properties that define how long backup should be kept in the backup destination:

* `Retention - no. of versions to keep` - number of versions to keep
* `Retention - no. of days to keep` - number of days to keep

## Other

This is an optional section with two switches:

* Fail the rest of the backup tasks if more than xx% of the EXPORT tasks have already failed
* Fail the rest of the backup tasks if more than xx% of the STORE tasks have already failed

Two examples when using switches is useful It is very likely that if 30% of the backup tasks fail, the remaining tasks will also fail because the environment has failed. Or you are backing up a set of machines, and if even one is not secured, there is no point in backing up the rest.

In the end, save settings.

{% hint style="info" %}
There is no limit to the number of policies you can create.
{% endhint %}

{% hint style="info" %}
**Note:** You can also perform the same action thanks to the CLI interface: [CLI Reference](https://docs.storware.eu/70/administration/cli-reference)
{% endhint %}
