|
| 1 | +--- |
| 2 | +title: Manage & monitor Microsoft Azure Recovery Services Agent backups |
| 3 | +description: Learn how to manage and monitor Microsoft Azure Recovery Services Agent backups by using the Azure Backup service. |
| 4 | +ms.reviewer: srinathv |
| 5 | +author: dcurwin |
| 6 | +manager: carmonm |
| 7 | +ms.service: backup |
| 8 | +ms.topic: conceptual |
| 9 | +ms.date: 10/07/2019 |
| 10 | +ms.author: dacurwin |
| 11 | +--- |
| 12 | +# Manage Microsoft Azure Recovery Services Agent backups by using the Azure Backup service |
| 13 | + |
| 14 | +This article describes how to manage files and folders that are backed up with the Microsoft Azure Recovery Services Agent. |
| 15 | + |
| 16 | +## Create a backup policy |
| 17 | + |
| 18 | +The backup policy specifies when to take snapshots of the data to create recovery points and how long to retain recovery points. You configure the backup policy using the MARS agent. |
| 19 | + |
| 20 | +Create a policy as follows: |
| 21 | + |
| 22 | +1. After downloading and registering the MARS agent, launch the agent console. You can find it by searching your machine for **Microsoft Azure Backup**. |
| 23 | +2. In **Actions**, click **Schedule Backup**. |
| 24 | + |
| 25 | +  |
| 26 | +3. In the Schedule Backup Wizard > **Getting started**, click **Next**. |
| 27 | +4. In **Select Items to Back up**, click **Add Items**. |
| 28 | + |
| 29 | +  |
| 30 | + |
| 31 | +5. In **Select Items**, select what you want to back up and click **OK**. |
| 32 | + |
| 33 | +  |
| 34 | + |
| 35 | +6. In **Select Items to Back up** page, click **Next**. |
| 36 | +7. In **Specify Back up Schedule** page, specify when you want to take daily or weekly backups. Then click **Next**. |
| 37 | + |
| 38 | + - A recovery point is created when a backup is taken. |
| 39 | + - The number of recovery points created in your environment is dependent upon your backup schedule. |
| 40 | + |
| 41 | +8. You can schedule daily backups, up to three times a day. For example, the screenshot shows two daily backups, one at midnight and one at 6:00 PM. |
| 42 | + |
| 43 | +  |
| 44 | + |
| 45 | +9. You can run weekly backups too. For example, the screenshot shows backups taken every alternate Sunday & Wednesday at 9:30 AM and 1:00 AM. |
| 46 | + |
| 47 | +  |
| 48 | + |
| 49 | +10. On the **Select Retention Policy** page, specify how you store historical copies of your data. Then click **Next**. |
| 50 | + |
| 51 | + - Retention settings specify which recovery points should be stored, and how long they should be stored for. |
| 52 | + - For example, when you set a daily retention setting, you indicate that at the time specified for the daily retention, the latest recovery point will be retained for the specified number of days. Or, as another example, you could specify a monthly retention policy to indicate that the recovery point created on the 30th of every month should be stored for 12 months. |
| 53 | + - Daily and weekly recovery point retention usually coincides with the backup schedule. Meaning that when the backup is triggered according to schedule, the recovery point created by the backup is stored for the duration indicated in the daily or weekly retention policy. |
| 54 | + - As an example, in the following screenshot: |
| 55 | + - Daily backups at midnight and 6:00 PM are kept for seven days. |
| 56 | + - Backups taken on a Saturday at midnight and 6:00 PM are kept for four weeks. |
| 57 | + - Backups taken on Saturday on the last week of the month at midnight and 6:00 PM are kept for 12 months. |
| 58 | + - Backups taken on a Saturday in the last week of March are kept for 10 years. |
| 59 | + |
| 60 | +  |
| 61 | + |
| 62 | +11. In **Choose Initial Backup Type** decide if you want to take the initial backup over the network or use offline backup (for more information on offline backup refer, see this [article](backup-azure-backup-import-export.md)). To take the initial backup over the network, select **Automatically over the network** and click **Next**. |
| 63 | + |
| 64 | +  |
| 65 | + |
| 66 | +12. In **Confirmation**, review the information, and then click **Finish**. |
| 67 | +  |
| 68 | + |
| 69 | +13. After the wizard finishes creating the backup schedule, click **Close**. |
| 70 | +  |
| 71 | + |
| 72 | +You must create a policy on each machine where the agent is installed. |
| 73 | + |
| 74 | +## Modify a backup policy |
| 75 | + |
| 76 | +When you modify backup policy, you can add new items, remove existing items from backup, or exclude files from being backed up using Exclusion Settings. |
| 77 | + |
| 78 | +- **Add Items** use this option only for adding new items to back up. To remove existing items, use **Remove Items** or **Exclusion Settings** option. |
| 79 | +- **Remove Items** use this option to remove items from being backed up. |
| 80 | + - Use **Exclusion Settings** for removing all items within a volume instead of **Remove Items**. |
| 81 | + - Clearing all selections in a volume causes old backups of the items, to be retained as per retention settings at the time of the last backup, without scope for modification. |
| 82 | + - Reselecting these items, leads to a first full-backup and new policy changes are not applied to old backups. |
| 83 | + - Unselecting entire volume retains past backup without any scope for modifying retention policy. |
| 84 | +- **Exclusion Settings** use this option to exclude specific items from being backed up. |
| 85 | + |
| 86 | +### Add new items to existing policy |
| 87 | + |
| 88 | +1. In **Actions**, click **Schedule Backup**. |
| 89 | + |
| 90 | +  |
| 91 | + |
| 92 | +2. In **Select policy item** tab, and select **Modify backup schedule for your files and folders** and click **Next**. |
| 93 | + |
| 94 | +  |
| 95 | + |
| 96 | +3. In **Modify or stop schedule backup** tab, select **Make changes to backup items or times** and click **Next**. |
| 97 | + |
| 98 | +  |
| 99 | + |
| 100 | +4. In **Select items to Backup** tab, click **Add items** to add the items that you want to back up. |
| 101 | + |
| 102 | +  |
| 103 | + |
| 104 | +5. In **Select Items** window, select flies or folders that you want to add and click **OK**. |
| 105 | + |
| 106 | +  |
| 107 | + |
| 108 | +6. Complete the subsequent steps and click **Finish** to complete the operation. |
| 109 | + |
| 110 | +### Add Exclusion rules to existing policy |
| 111 | + |
| 112 | +You can add exclusion rules to skip files and folders that you don't want to be backed up. You can do this during when defining a new policy or modifying an existing policy. |
| 113 | + |
| 114 | +1. From the Actions pane, click **Schedule Backup**. Go to **Select items to Backup** and click **Exclusion Settings**. |
| 115 | + |
| 116 | +  |
| 117 | + |
| 118 | +2. In **Exclusion Settings**, click **Add Exclusion**. |
| 119 | + |
| 120 | +  |
| 121 | + |
| 122 | +3. From **Select Items to Exclude**, browse the files and folders and select items that you want to exclude and click **OK**. |
| 123 | + |
| 124 | +  |
| 125 | + |
| 126 | +4. By default all **Subfolders** within the selected folders are excluded. You can change this by selecting **Yes** or **No**. You can edit and specific the file types to exclude as shown below: |
| 127 | + |
| 128 | +  |
| 129 | + |
| 130 | +5. Complete the subsequent steps and click **Finish** to complete the operation. |
| 131 | + |
| 132 | +### Remove items from existing policy |
| 133 | + |
| 134 | +1. From the Actions pane, click **Schedule Backup**. Go to **Select items to Backup**. From the list, select the files and folders that you want to remove from backup schedule and click **Remove items**. |
| 135 | + |
| 136 | +  |
| 137 | + |
| 138 | +> [!NOTE] |
| 139 | +> Proceed with caution when you completely remove a volume from the policy. If you need to add it again, then it will be treated as a new volume. The next scheduled backup will perform an Initial Backup (full backup) instead of Incremental Backup. If you need to temporarily remove and add items later, then it is recommended to use **Exclusions Settings** instead of **Remove Items** to ensure incremental backup instead of full backup. |
| 140 | +
|
| 141 | +2. Complete the subsequent steps and click **Finish** to complete the operation. |
| 142 | + |
| 143 | +## Stop protecting Files and Folder backup |
| 144 | + |
| 145 | +There are two ways to stop protecting Files and Folders backup: |
| 146 | + |
| 147 | +- **Stop protection and retain backup data**. |
| 148 | + - This option will stop all future backup jobs from protection. |
| 149 | + - Azure Backup service will retain the recovery points that have been backed up based on the retention policy. |
| 150 | + - You'll be able to restore the backed-up data for unexpired recovery points. |
| 151 | + - If you decide to resume protection, then you can use the *Re-enable backup schedule* option. After that, data would be retained based on the new retention policy. |
| 152 | +- **Stop protection and delete backup data**. |
| 153 | + - This option will stop all future backup jobs from protecting your data and delete all the recovery points. |
| 154 | + - You will receive a delete Backup data alert email with a message *Your data for this Backup item has been deleted. This data will be temporarily available for 14 days, after which it will be permanently deleted* and recommended action *Reprotect the Backup item within 14 days to recover your data.* |
| 155 | + - To resume protection, reprotect within 14 days from delete operation. |
| 156 | + |
| 157 | +### Stop protection and retain backup data |
| 158 | + |
| 159 | +1. Open the MARS management console, go to the **Actions pane**, and **select Schedule Backup**. |
| 160 | +  |
| 161 | +1. In **Select Policy Item** page, select **Modify a backup schedule for your files and folders** click **Next**. |
| 162 | +  |
| 163 | +1. From the **Modify or Stop a Scheduled Backup** page, select **Stop using this backup schedule, but keep the stored backups till a schedule is activated again**. Then, select **Next**. |
| 164 | +  |
| 165 | +1. In **Pause Scheduled Backup** review the information click **Finish** |
| 166 | +  |
| 167 | +1. in **Modify backup process** check your schedule backup pause status success and click **close** to finish. |
| 168 | + |
| 169 | +### Stop protection and delete backup data |
| 170 | + |
| 171 | +1. Open the MARS management console, go to the **Actions** pane, and select **Schedule Backup**. |
| 172 | +2. From the **Modify or Stop a Scheduled Backup** page, select **Stop using this backup schedule and delete all the stored backups**. Then, select **Next**. |
| 173 | + |
| 174 | +  |
| 175 | + |
| 176 | +3. From the **Stop a Scheduled Backup** page, select **Finish**. |
| 177 | + |
| 178 | +  |
| 179 | +4. You are prompted to enter a security PIN (personal identification number), which you must generate manually. To do this, first sign in to the Azure portal. |
| 180 | +5. Go to **Recovery Services vault** > **Settings** > **Properties**. |
| 181 | +6. Under **Security PIN**, select **Generate**. Copy this PIN. The PIN is valid for only five minutes. |
| 182 | +7. In the management console, paste the PIN, and then select **OK**. |
| 183 | + |
| 184 | +  |
| 185 | + |
| 186 | +8. In the **Modify Backup Progress** page, the following message appears: *Deleted backup data will be retained for 14 days. After that time, backup data will be permanently deleted.* |
| 187 | + |
| 188 | +  |
| 189 | + |
| 190 | +After you delete the on-premises backup items, follow the next steps from the portal. |
| 191 | + |
| 192 | +## Re-enable protection |
| 193 | + |
| 194 | +If you stopped protection while retaining data and decided to resume protection, then you can re-enable the backup schedule using modify backup policy. |
| 195 | + |
| 196 | +1. On **Actions** select **Schedule backup**. |
| 197 | +1. Select **Re-enable backup schedule. You can also modify backup items or tines** and click **Next**. |
| 198 | +  |
| 199 | +1. In **Select Items to Backup**, click **Next**. |
| 200 | +  |
| 201 | +1. In **Specify Backup Schedule**, specify the backup schedule and click **Next**. |
| 202 | +1. In **Select Retention Policy**, specify retention duration and click **Next**. |
| 203 | +1. Finally in **Conformation** screen, review the policy details and click **Finish**. |
| 204 | + |
| 205 | +## Next steps |
| 206 | + |
| 207 | +- For information about supported scenarios and limitations, refer to the [Support Matrix for MARS](https://docs.microsoft.com/azure/backup/backup-support-matrix-mars-agent). |
| 208 | +- Learn more about [Ad hoc backup policy retention behavior](https://docs.microsoft.com/azure/backup/backup-configure-vault#ad-hoc-backup-policy-retention-behavior.md). |
0 commit comments