Skip to content

Commit a182b05

Browse files
authored
Merge pull request #174949 from v-amallick/Oct-7-2021-AFS
AFS documentation updates
2 parents 2cd1511 + 6bee31c commit a182b05

File tree

6 files changed

+115
-25
lines changed

6 files changed

+115
-25
lines changed

articles/backup/backup-afs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Back up Azure file shares in the Azure portal
33
description: Learn how to use the Azure portal to back up Azure file shares in the Recovery Services vault
44
ms.topic: conceptual
5-
ms.date: 05/07/2021
5+
ms.date: 10/08/2021
66
---
77

88
# Back up Azure file shares
@@ -80,9 +80,9 @@ The following steps explain how you can configure backup for multiple file share
8080

8181
![Create new policy](./media/backup-afs/create-new-policy.png)
8282

83-
1. The **Backup Policy** context pane opens on the right. Specify a policy name in the text box and choose the retention period according to your requirement. Only the daily retention option is enabled by default. If you want to have weekly, monthly, or yearly retention, select the corresponding checkbox and provide the desired retention value.
83+
1. Follow the steps 3-7 in the [Create a new policy](manage-afs-backup.md#create-a-new-policy) section.
8484

85-
1. After specifying the retention values and a valid policy name, select **OK**.<br>
85+
1. After defining all attributes of the policy, click **OK**.
8686

8787
![Give policy name and retention values](./media/backup-afs/policy-name.png)
8888

@@ -142,9 +142,9 @@ The following steps explain how you can configure backup for individual file sha
142142

143143
1. Select the **Create a new policy** link text.
144144

145-
2. The **Backup Policy** context pane opens on the right. Specify a policy name in the text box and choose the retention period according to your requirement. Only the daily retention option is enabled by default. If you want to have weekly, monthly, or yearly retention, select the corresponding checkbox and provide the desired retention value.
145+
2. Follow the steps 3-7 in the [Create a new policy](manage-afs-backup.md#create-a-new-policy) section.
146146

147-
3. After specifying the retention values and a valid policy name, select **OK**.
147+
3. After defining all attributes of the policy, click **OK**.
148148

149149
![Create new backup policy](./media/backup-afs/create-new-backup-policy.png)
150150

articles/backup/backup-azure-files-faq.yml

Lines changed: 63 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
metadata:
33
title: Back up Azure Files FAQ
44
description: In this article, discover answers to common questions about how to protect your Azure file shares with the Azure Backup service.
5-
ms.date: 04/22/2020
5+
ms.date: 10/08/2021
66
ms.topic: article
77
ms.service: backup
88

@@ -39,7 +39,7 @@ sections:
3939
- question: |
4040
Why can't I change the vault to configure backup for the file share?
4141
answer: |
42-
If the storage account is already registered with a vault or other file shares in the storage account are protected using a vault , you aren't given an option to change it. All file shares in a storage account can be protected only by the same vault. If you want to change the vault, you'll need to [stop protection for all file shares in the storage account](manage-afs-backup.md#stop-protection-on-a-file-share) from the connected vault, [unregister](manage-afs-backup.md#unregister-a-storage-account) the Storage Account, and then choose a different vault for protection.
42+
If the storage account is already registered with a vault or other file shares in the storage account are protected using a vault, you aren't given an option to change it. All file shares in a storage account can be protected only by the same vault. If you want to change the vault, you'll need to [stop protection for all file shares in the storage account](manage-afs-backup.md#stop-protection-on-a-file-share) from the connected vault, [unregister](manage-afs-backup.md#unregister-a-storage-account) the Storage Account, and then choose a different vault for protection.
4343
4444
- question: |
4545
Can I change the Vault to which I back up my file shares?
@@ -85,15 +85,15 @@ sections:
8585
- question: |
8686
Why Azure Files backups doesn't replicate based on the Storage Replication Type setting of the vault?
8787
answer: |
88-
The Storage Replication setting of the vault isn't relevant for Azure Files backup. This is because the current solution is snapshot based and there's no data transferred to the vault. Snapshots are stored in the same storage account as the backed-up file share, and therefore replicated as per the replication setting of storage account.
88+
The Storage Replication setting of the vault isn't relevant for Azure Files backup. This is because the current solution is snapshot-based and there's no data transferred to the vault. Snapshots are stored in the same storage account as the backed-up file share, and therefore replicated as per the replication setting of storage account.
8989
9090
- question: |
9191
Can I access the snapshots taken by Azure Backups and mount them?
9292
answer: |
9393
All snapshots taken by Azure Backup can be accessed by viewing snapshots in the portal, PowerShell, or CLI. To learn more about Azure Files share snapshots, see [Overview of share snapshots for Azure Files](../storage/files/storage-snapshots-files.md).
9494
9595
- question: |
96-
What happens after I move a backed up file share to a different subscription?
96+
What happens after I move a backed-up file share to a different subscription?
9797
answer: |
9898
Once a file share is moved to a different subscription, it's considered as a new file share by Azure Backup. These are the recommended steps:
9999
@@ -107,9 +107,9 @@ sections:
107107
Note that after reconfiguring backup with V2, the snapshots that were taken with V1 will no longer be managed by Azure Backup. So you'll have to delete those snapshots manually according to your requirements.
108108
109109
- question: |
110-
Can I move my backed up file share to a different resource group?
110+
Can I move my backed-up file share to a different resource group?
111111
answer: |
112-
Yes, you can move your backed up file share to a different resource group. However, you'll need to reconfigure backup for the file share as it will be treated as a new resource by Azure Backup. Also, the snapshots that were created before the resource group move will no longer be managed by Azure backup. So you'll have to delete those snapshots manually according to your requirements.
112+
Yes, you can move your backed-up file share to a different resource group. However, you'll need to reconfigure backup for the file share as it will be treated as a new resource by Azure Backup. Also, the snapshots that were created before the resource group move will no longer be managed by Azure backup. So you'll have to delete those snapshots manually according to your requirements.
113113
114114
- question: |
115115
What is the maximum retention I can configure for backups?
@@ -161,7 +161,7 @@ sections:
161161
- question: |
162162
What is the impact on existing recovery points when I modify an existing GFS Policy?
163163
answer: |
164-
When a new policy is applied on file shares, all the future scheduled backups will be taken according to the schedule configured in the modified policy. The retention of all existing recovery points is aligned according to the new retention values configured. So if the retention is extended, existing recovery points are marked to be retained according to the new policy. If the retention is reduced, they're marked for clean-up in the next cleanup job and then deleted.
164+
When a new policy is applied on file shares, all the future scheduled backups will be taken according to the schedule configured in the modified policy. The retention of all existing recovery points is aligned according to the new retention values configured. So, if the retention is extended, existing recovery points are marked to be retained according to the new policy. If the retention is reduced, they're marked for clean-up in the next cleanup job and then deleted.
165165
166166
Here's an example of how this works:
167167
@@ -193,6 +193,62 @@ sections:
193193
>[!NOTE]
194194
>The policy changes will affect only the recovery points created as part of the scheduled backup. For on-demand backups, retention is determined by the **Retain Till** value specified at the time of taking the backup.
195195
196+
- question: |
197+
What does the duration attribute in Azure Files backup policy signify?
198+
answer: |
199+
The **duration** attribute helps to determine the timestamp for last backup of the day.
200+
201+
For example, if the **start time** is “x AM” and **duration** is “y hours”, the backups will be scheduled between “x AM” and (x AM + y hours) based on the **schedule** attribute defined in the policy. This attribute enables you to ensure backups are only triggered during your working hours when there're frequent update operations on file share contents; therefore, taking multiple snapshots will safeguard data from any accidental changes.
202+
203+
- question: |
204+
How are the backups scheduled based on the attributes - start time, schedule, and duration?
205+
answer: |
206+
For example, you created a policy with the following configuration:
207+
208+
- **Start time**: 9 AM
209+
- **Schedule**: Every 4 hours
210+
- **Duration**: 12 hours
211+
212+
Based on these values, the backup window is calculated as 9 AM – (9 AM + 12 hours), that is, 9 AM – 9 PM. Therefore, all backups will be scheduled within this window.
213+
214+
The first backup of the day is triggered at the start time mentioned in the policy, that is, 9 AM, and the **schedule** determines the time difference between consecutive backups, that is, 4 hours. With this calculation, your backup schedule would be: 9 AM, 1 PM (9 AM + 4 hours), 5 PM (1 PM + 4 hours), and 9 PM (5 PM + 4 hours).
215+
216+
Since the end time of the backup window we calculated was 9 PM, no backup would be triggered after this time.
217+
218+
- question: |
219+
Why am I getting the error “The selected configuration will trigger only 1 backup per day”?
220+
answer: |
221+
This error occurs if you specified a **schedule** that's greater than the **duration**. For example, you've configured **start time** as 9 AM, **schedule** as 6 hours, and **duration** as 4 hours. In this scenario, the only time when backup job can trigger is 9 AM, since the next backup time of 3 PM (9 AM + 6 hours) is outside the backup window: 9 AM – 1 PM (9 AM + 4 hours).
222+
223+
To fix this, we recommend you adjust your schedule or duration, or select **Daily** frequency instead of **Hourly**.
224+
225+
- question: |
226+
Why am I getting the error “The selected configuration extends backup window to next day”?
227+
answer: |
228+
This error occurs if the backup window's **start time** and **end time**, determined based on the backup **schedule** and **duration**, falls on two different days.
229+
230+
For example, you configured a policy with the following parameters:
231+
232+
- **Schedule**: Every 4 hours
233+
- **Start time**: 12 PM
234+
- **Duration**: 15 hours
235+
236+
Based on this configuration, the backup window will be: 12 PM – 3 AM (12 PM + 15 hours). Since the start and end times are falling on two different days, we recommend you adjust the **start time** or **duration** to ensure they are on the same day.
237+
238+
Let’s assume, you change the start time to 6 AM in the above configuration. Now, the backup window will be 6 AM – 9 PM (6 AM + 15 hours). This is a supported configuration.
239+
240+
- question: |
241+
What’s the impact on the existing recovery points when I switch from “Daily” to “Hourly” frequency?
242+
answer: |
243+
When you switch from **Daily** to **Hourly** frequency, the behavior is as follows:
244+
245+
- **Retention**: If you're adding weekly/monthly/yearly retention as part of modifying the policy, all the future recovery points created as part of the scheduled backup will be tagged according to the new policy. All the existing recovery points will still be considered as daily recovery points; so, they won’t be tagged as weekly/monthly/yearly.
246+
247+
- **Snapshots and recovery points cleanup**:
248+
249+
- If daily retention is extended, the expiration date of the existing daily recovery points is updated according to the daily retention value configured in the new policy.
250+
- If daily retention is reduced, the existing daily recovery points and snapshots are marked for deletion in the next cleanup run job according to the daily retention value configured in the new policy, and then deleted.
251+
196252
additionalContent: |
197253
198254
## Next steps

articles/backup/manage-afs-backup.md

Lines changed: 47 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Manage Azure file share backups
33
description: This article describes common tasks for managing and monitoring the Azure file shares that are backed up by Azure Backup.
44
ms.topic: conceptual
5-
ms.date: 01/07/2020
5+
ms.date: 10/08/2021
66
---
77

88
# Manage Azure file share backups
@@ -25,31 +25,65 @@ To open the **Backup Jobs** page:
2525

2626
## Monitor using Azure Backup reports
2727

28-
Azure Backup provides a reporting solution that uses [Azure Monitor logs](../azure-monitor/logs/log-analytics-tutorial.md) and [Azure workbooks](../azure-monitor/visualize/workbooks-overview.md).These resources help you get rich insights into your backups. You can leverage these reports to gain visibility into Azure Files backup items, jobs at item level and details of active policies. Using the Email Report feature available in Backup Reports, you can create automated tasks to receive periodic reports via email.[Learn](/azure/backup/configure-reports#get-started) how to configure and view Azure Backup reports.
28+
Azure Backup provides a reporting solution that uses [Azure Monitor logs](../azure-monitor/logs/log-analytics-tutorial.md) and [Azure workbooks](../azure-monitor/visualize/workbooks-overview.md). These resources help you get rich insights into your backups. You can leverage these reports to gain visibility into Azure Files backup items, jobs at item level and details of active policies. Using the Email Report feature available in Backup Reports, you can create automated tasks to receive periodic reports via email.[Learn](/azure/backup/configure-reports#get-started) how to configure and view Azure Backup reports.
2929

3030
## Create a new policy
3131

3232
You can create a new policy to back up Azure file shares from the **Backup policies** section of the Recovery Services vault. All policies created when you configured backup for file shares show up with the **Policy Type** as **Azure File Share**.
3333

34-
To view the existing backup policies:
34+
To create a new backup policy, follow these steps:
3535

36-
1. Open the Recovery Services vault you used to configure the backup for the file share. On the Recovery Services vault menu, select **Backup policies** under the **Manage** section. All the backup policies configured in the vault appear.
36+
1. In the **Backup policies** pane of the Recovery Services vault, select **+ Add**.
3737

38-
![All backup policies](./media/manage-afs-backup/all-backup-policies.png)
38+
:::image type="content" source="./media/manage-afs-backup/new-backup-policy.png" alt-text="Screenshot showing the option to start creating a new backup policy.":::
3939

40-
1. To view policies specific to **Azure File Share**, select **Azure File Share** from the drop-down list on the upper right.
40+
1. In the **Add** pane, select **Azure File Share** as the **Policy Type**.
41+
42+
:::image type="content" source="./media/manage-afs-backup/define-policy-type.png" alt-text="Screenshot showing to select Azure File Share as the policy type.":::
43+
44+
1. As the **Backup policy** pane for **Azure File Share** opens, specify the policy name.
45+
46+
1. In **Backup schedule**, select an appropriate frequency for the backups - **Daily** or **Hourly**.
47+
48+
:::image type="content" source="./media/manage-afs-backup/backup-frequency-types.png" alt-text="Screenshot showing the frequency types for backups.":::
49+
50+
- **Daily**: Triggers one backup per day. For daily frequency, select the appropriate values for:
4151

42-
![Select Azure File Share](./media/manage-afs-backup/azure-file-share.png)
52+
- **Time**: The timestamp when the backup job needs to be triggered.
53+
- **Time zone**: The corresponding time zone for the backup job.
4354

44-
To create a new backup policy:
55+
- **Hourly**: Triggers multiple backups per day. For hourly frequency, select the appropriate values for:
56+
57+
- **Schedule**: The time interval (in hours) between the consecutive backups.
58+
- **Start time**: The time when the first backup job of the day needs to be triggered.
59+
- **Duration**: Represents the backup window (in hours), that is, the time span in which the backup jobs need to be triggered as per the selected schedule.
60+
- **Time zone**: The corresponding time zone for the backup job.
61+
62+
For example, you’ve the RPO (recovery point objective) requirement of 4 hours and your working hours are 9 AM to 9 PM. To meet these requirements, the configuration for backup schedule would be:
63+
64+
- Schedule: Every 4 hours
65+
- Start time: 9 AM
66+
- Duration: 12 hours
67+
68+
:::image type="content" source="./media/manage-afs-backup/hourly-backup-frequency-values-scenario.png" alt-text="Screenshot showing an example of hourly backup frequency values.":::
4569

46-
1. In the **Backup policies** pane, select **+ Add**.
70+
Based on your selection, the backup job details (the time stamps when backup job would be triggered) display on the backup policy blade.
4771

48-
![New backup policy](./media/manage-afs-backup/new-backup-policy.png)
72+
1. In **Retention range**, specify appropriate retention values for backups - tagged as daily, weekly, monthly, or yearly.
4973

50-
1. In the **Add** pane, select **Azure File Share** as the **Policy Type**. The **Backup policy** pane for **Azure File Share** opens. Specify the policy name, backup frequency, and retention range for the recovery points. After you define the policy, select **OK**.
74+
1. After defining all attributes of the policy, click **Create**.
75+
76+
### View policy
77+
78+
To view the existing backup policies:
79+
80+
1. Open the Recovery Services vault you used to configure the backup for the file share. On the Recovery Services vault menu, select **Backup policies** under the **Manage** section. All the backup policies configured in the vault appear.
81+
82+
:::image type="content" source="./media/manage-afs-backup/all-backup-policies.png" alt-text="Screenshot showing the all backup policies.":::
83+
84+
1. To view policies specific to **Azure File Share**, select **Azure File Share** from the drop-down list on the upper right.
5185

52-
![Define the backup policy](./media/manage-afs-backup/define-backup-policy.png)
86+
:::image type="content" source="./media/manage-afs-backup/azure-file-share.png" alt-text="Screenshot showing the process to select Azure File Share.":::
5387

5488
## Modify policy
5589

@@ -126,7 +160,7 @@ To resume protection for the Azure file share:
126160

127161
## Delete backup data
128162

129-
You can delete the backup of a file share during the **Stop backup** job, or any time after you stop protection. It might be beneficial to wait days or even weeks before you delete the recovery points. When you delete backup data, you can't choose specific recovery points to delete. If you decide to delete your backup data, you delete all recovery points associated with the file share.
163+
You can delete the backup of a file share during the **Stop backup** job, or anytime after you stop protection. It might be beneficial to wait days or even weeks before you delete the recovery points. When you delete backup data, you can't choose specific recovery points to delete. If you decide to delete your backup data, you delete all recovery points associated with the file share.
130164

131165
The following procedure assumes that the protection was stopped for the file share.
132166

30.8 KB
Loading
9.54 KB
Loading
36.4 KB
Loading

0 commit comments

Comments
 (0)