Skip to content

Commit debf56a

Browse files
authored
Merge pull request #93921 from dcurwin/mars-oct2019
Mars oct2019
2 parents 0d02034 + d90f931 commit debf56a

32 files changed

+213
-0
lines changed
Lines changed: 208 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,208 @@
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+
![Schedule a Windows Server backup](./media/backup-configure-vault/schedule-first-backup.png)
26+
3. In the Schedule Backup Wizard > **Getting started**, click **Next**.
27+
4. In **Select Items to Back up**, click **Add Items**.
28+
29+
![Select Items to Back up](./media/backup-azure-manage-mars/select-item-to-backup.png)
30+
31+
5. In **Select Items**, select what you want to back up and click **OK**.
32+
33+
![Selected Items to Back up](./media/backup-azure-manage-mars/selected-items-to-backup.png)
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+
![Daily schedule](./media/backup-configure-vault/day-schedule.png)
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+
![Weekly schedule](./media/backup-configure-vault/week-schedule.png)
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+
![Retention example](./media/backup-configure-vault/retention-example.png)
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+
![initial Backup Type](./media/backup-azure-manage-mars/choose-initial-backup-type.png)
65+
66+
12. In **Confirmation**, review the information, and then click **Finish**.
67+
![Confirm Backup Type](./media/backup-azure-manage-mars/confirm-backup-type.png)
68+
69+
13. After the wizard finishes creating the backup schedule, click **Close**.
70+
![Confirm Modify Backup Process](./media/backup-azure-manage-mars/confirm-modify-backup-process.png)
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+
![Schedule a Windows Server backup](./media/backup-configure-vault/schedule-first-backup.png)
91+
92+
2. In **Select policy item** tab, and select **Modify backup schedule for your files and folders** and click **Next**.
93+
94+
![Select Policy Items](./media/backup-azure-manage-mars/select-policy-items.png)
95+
96+
3. In **Modify or stop schedule backup** tab, select **Make changes to backup items or times** and click **Next**.
97+
98+
![Modify or schedule backup](./media/backup-azure-manage-mars/modify-schedule-backup.png)
99+
100+
4. In **Select items to Backup** tab, click **Add items** to add the items that you want to back up.
101+
102+
![Modify or schedule backup add items](./media/backup-azure-manage-mars/modify-schedule-backup-add-items.png)
103+
104+
5. In **Select Items** window, select flies or folders that you want to add and click **OK**.
105+
106+
![Select the items](./media/backup-azure-manage-mars/select-item.png)
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+
![Select the items](./media/backup-azure-manage-mars/select-exclusion-settings.png)
117+
118+
2. In **Exclusion Settings**, click **Add Exclusion**.
119+
120+
![Select the items](./media/backup-azure-manage-mars/add-exclusion.png)
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+
![Select the items](./media/backup-azure-manage-mars/select-items-exclude.png)
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+
![Select the items](./media/backup-azure-manage-mars/subfolders-type.png)
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+
![Select the items](./media/backup-azure-manage-mars/select-items-remove.png)
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+
![Modify or stop a scheduled backup.](./media/backup-azure-manage-mars/mars-actions.png)
161+
1. In **Select Policy Item** page, select **Modify a backup schedule for your files and folders** click **Next**.
162+
![Modify or stop a scheduled backup.](./media/backup-azure-manage-mars/select-policy-item-retain-data.png)
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+
![Modify or stop a scheduled backup.](./media/backup-azure-manage-mars/stop-schedule-backup.png)
165+
1. In **Pause Scheduled Backup** review the information click **Finish**
166+
![Modify or stop a scheduled backup.](./media/backup-azure-manage-mars/pause-schedule-backup.png)
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+
![Modify or stop a scheduled backup.](./media/backup-azure-delete-vault/modify-schedule-backup.png)
175+
176+
3. From the **Stop a Scheduled Backup** page, select **Finish**.
177+
178+
![Stop a scheduled backup.](./media/backup-azure-delete-vault/stop-schedule-backup.png)
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+
![Generate a security PIN.](./media/backup-azure-delete-vault/security-pin.png)
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+
![Delete the backup infrastructure.](./media/backup-azure-delete-vault/deleted-backup-data.png)
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+
![Delete the backup infrastructure.](./media/backup-azure-manage-mars/re-enable-policy-next.png)
199+
1. In **Select Items to Backup**, click **Next**.
200+
![Delete the backup infrastructure.](./media/backup-azure-manage-mars/re-enable-next.png)
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).

articles/backup/backup-support-matrix-mars-agent.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Azure Backup uses the MARS agent to back up data from on-premises machines and A
2121
- Run on Windows VMs so that they can back up directly to a vault.
2222
- Run on Microsoft Azure Backup Server (MABS) or a System Center Data Protection Manager (DPM) server. In this scenario, machines and workloads back up to MABS or to the DPM server. The MARS agent then backs up this server to a vault in Azure.
2323

24+
> [!NOTE]
25+
>Azure Backup doesn't support automatic adjustment of clock for daylight savings time (DST). Modify the policy to ensure daylight savings is taken into account to prevent discrepancy between the actual time and scheduled backup time.
26+
2427
Your backup options depend on where the agent is installed. For more information, see [Azure Backup architecture using the MARS agent](backup-architecture.md#architecture-direct-backup-of-on-premises-windows-server-machines-or-azure-vm-files-or-folders). For information about MABS and DPM backup architecture, see [Back up to DPM or MABS](backup-architecture.md#architecture-back-up-to-dpmmabs). Also see [requirements](backup-support-matrix-mabs-dpm.md) for the backup architecture.
2528

2629
**Installation** | **Details**
6.85 KB
Loading
31.6 KB
Loading
83.1 KB
Loading
47.8 KB
Loading
35.4 KB
Loading
47.5 KB
Loading
8.15 KB
Loading
23.2 KB
Loading

0 commit comments

Comments
 (0)