# Using backup policies

Backup Policies are used to assign a specific backup configuration to a Veeam Backup Agent. A policy can be assigned to multiple agents and automatically applied to agents via discovery rules if desired.

### Creating Backup Policies

* Click **Configuration** from the top right of the portal and select **Backup Policies** from the left hand side<br>

  <div align="left"><figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2FgKwbiJw0v88XcXX4Xrsn%2Fimage.png?alt=media&#x26;token=a1b22ab2-5dfa-497d-a2b2-0bc4b0358cef" alt="" width="286"><figcaption></figcaption></figure></div>
* Click **New > Windows/Mac/Linux** depending on the OS you wish to backup
* Select whether you want the policy to be visible to all companies or just the ones to which it is assigned\
  (ie. if your customers access VSPC using their own company level account, they can see any public policies that exist)<br>

  <div align="left"><figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2FMmrOhJvjf0uMhnTE4XlE%2Fimage.png?alt=media&#x26;token=791e49e1-f5ef-4546-ba05-53b8e94bd663" alt="" width="563"><figcaption></figcaption></figure></div>
* Follow the wizard and fill out the following:\
  \- **Policy name**\
  \- **Operation mode** - Server or Workstation\
  \- **Backup mode** - Entire computer or specific volumes/files
* Select the destination to store the backup data. In most cases this will be **Veeam Cloud Connect repository** for backing up to Hosted Network BaaS storage, however local or shared storage accessible to the agent is also an option
* Choose the desired retention period (note: longer retention consumes more storage)<br>

  <div align="left"><figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2F3dmJJRMXFY61dTftuj4n%2Fimage.png?alt=media&#x26;token=29edd97a-199a-4604-9cf7-e0ac08332090" alt="" width="563"><figcaption></figcaption></figure></div>
* Follow the remaining steps in the wizard as per your requirements, including the desired schedule for the job<br>

  <div align="left"><figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2Fjr8GgXcDT4mBDAfm2dAU%2Fimage.png?alt=media&#x26;token=e29685d8-9315-4b88-b4a4-0678112f6531" alt="" width="563"><figcaption></figcaption></figure></div>

### Assigning Backup Policies

* From the **Discovery > Backup Agents** view, tick the agent/s you wish to assign a policy to and click **Assign**<br>

  <div align="left"><figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2Fy4wyzGCt5Z6BX4954bhu%2Fimage.png?alt=media&#x26;token=5ef7db1e-d39d-4f31-a901-a17d6dd0dffd" alt="" width="563"><figcaption></figcaption></figure></div>
* Select the desired policy and click **Assign**<br>

  <div align="left"><figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2Fnq1ooYQWGyPMNntt3Bd0%2Fimage.png?alt=media&#x26;token=2c967309-7350-458c-ad08-bb743f6a2b1a" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="info" %}
For further information on working with backup policies, see [Veeam's documentation](https://helpcenter.veeam.com/docs/vac/provider_admin/configure_backup_agent_jobs.html?ver=81) on backup jobs
{% endhint %}
