> For the complete documentation index, see [llms.txt](https://docs.storware.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.storware.eu/backup-and-recovery-7.2/administration/virtual-environments/recovery-plans/policies.md).

# Policies

To schedule a VM to restore using a recovery plan (or execute a recovery plan manually), you must first create a policy.

Go to the Recovery Plans from the left menu under the Virtual Environments section.

![](https://content.gitbook.com/content/QumYNgUJDESi1C41uxk6/blobs/xdyzHkbAsyHviAnMIwUL/administration-ve-recovery_plans-policies_1.png)

After clicking on ![](https://content.gitbook.com/content/QumYNgUJDESi1C41uxk6/blobs/uw2I3tQ56h0DQAsR6JdL/administration-ve-snapshot_slas-policies_3.png) provide the name of the policy and set priority. After saving you will be able to add rules using the new button on the right.

![](https://content.gitbook.com/content/QumYNgUJDESi1C41uxk6/blobs/SpIwKoL2svEfE2pRKaoU/administration-ve-recovery_plans-policies_2.png)

Click on it and customize restore settings.

![](https://content.gitbook.com/content/QumYNgUJDESi1C41uxk6/blobs/oCF22T7YbTiqBe4GwNx6/administration-ve-recovery_plans-policies_3.png)

Each rule requires a **name** for easier identification later

![](https://content.gitbook.com/content/QumYNgUJDESi1C41uxk6/blobs/fdWurJlv8zsk6Z9LvDa1/administration-ve-recovery_plans-policies_4.png)

In the **Virtual Environments** tab, you need to select **Hypervisor type** for this rule and corresponding **virtual environments** of this type

![](https://content.gitbook.com/content/QumYNgUJDESi1C41uxk6/blobs/C7ngfuU5c0a2TlKCWPJ0/administration-ve-recovery_plans-policies_5.png)

If you previously defined any schedules for recovery plans you can select them in the **Schedules** tab

![](https://content.gitbook.com/content/QumYNgUJDESi1C41uxk6/blobs/oPVx1w7m7XVod3CFUPSZ/administration-ve-recovery_plans-policies_6.png)

In the **Restore Parameters** tab, you specify where VMs are going to be restored - compared to regular restore parameters provided in the manual restore window, notice that:

* you need to choose **\*\*which backup to restore -** last (regardless of status) **or** last successful
* you may want to use **Delete if Virtual Environment already exists** - which allows Storware Backup & Recovery to remove VM with the same name as the one being restored

![](https://content.gitbook.com/content/QumYNgUJDESi1C41uxk6/blobs/jdeWSmKMBOymSrmUdJdL/administration-ve-recovery_plans-policies_7.png)
