You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/backup/azure-file-share-backup-overview.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: About Azure Files backup
3
3
description: Learn how to back up Azure Files in the Recovery Services vault
4
4
ms.topic: overview
5
-
ms.date: 03/05/2025
5
+
ms.date: 02/27/2025
6
6
ms.service: azure-backup
7
7
ms.custom:
8
8
- engagement-fy23
@@ -87,8 +87,8 @@ For snapshot tier, you incur the following costs:
87
87
88
88
To get detailed estimates for backing up Azure Files, you can download the detailed [Azure Backup pricing estimator](https://aka.ms/AzureBackupCostEstimates).
89
89
90
-
>[!Note]
91
-
>There are no additional charges for vaulted backups. However, you will incur the cost for the snapshots taken as part of the backup process.
90
+
>[!Important]
91
+
>For vaulted backup, you will incur a protected instance fee and charges for backup storage for your standard and premium shares from April 1,2025.
Copy file name to clipboardExpand all lines: articles/backup/backup-azure-afs-automation.md
+6-15Lines changed: 6 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,18 @@
1
1
---
2
-
title: Back up Azure files by using PowerShell
3
-
description: In this article, learn how to back up Azure Files by using the Azure Backup service and PowerShell.
2
+
title: Back up Azure files using PowerShell
3
+
description: Learn how to use Azure PowerShell to back up Azure Files through an Azure Backup Recovery Services vault.
4
4
ms.topic: how-to
5
-
ms.date: 03/05/2025
5
+
ms.date: 02/27/2025
6
6
ms.custom: devx-track-azurepowershell
7
7
ms.service: azure-backup
8
8
author: jyothisuri
9
9
ms.author: jsuri
10
10
---
11
11
12
-
# Back up Azure Files by using Azure PowerShell
12
+
# Back up Azure Files using Azure PowerShell
13
13
14
14
This article describes how to use Azure PowerShell to back up Azure Files through an [Azure Backup](backup-overview.md) Recovery Services vault.
15
15
16
-
This article explains how to:
17
-
18
-
> [!div class="checklist"]
19
-
>
20
-
> * Set up PowerShell and register the Recovery Services provider.
21
-
> * Create a Recovery Services vault.
22
-
> * Configure backup for Azure Files.
23
-
> * Run a backup job.
24
-
25
16
## Prerequisites
26
17
27
18
Before you back up Azure Files, ensure that the following prerequisites are met:
@@ -451,5 +442,5 @@ Azure Files snapshots are used while the backups are taken. Usually the job fini
451
442
452
443
## Next steps
453
444
454
-
* Learn about [backing up Azure Files in the Azure portal](backup-afs.md).
455
-
* Refer to the [sample script on GitHub](https://github.com/Azure-Samples/Use-PowerShell-for-long-term-retention-of-Azure-Files-Backup) for using an Azure Automation runbook to schedule backups.
445
+
-[Restore Azure Files using Azure PowerShell](restore-afs-powershell.md).
446
+
-[Sample script on GitHub](https://github.com/Azure-Samples/Use-PowerShell-for-long-term-retention-of-Azure-Files-Backup) for using an Azure Automation runbook to schedule backups.
Copy file name to clipboardExpand all lines: articles/backup/backup-azure-files.md
+13-64Lines changed: 13 additions & 64 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Back up Azure Files in the Azure portal
3
3
description: Learn how to use the Azure portal to back up Azure Files in the Recovery Services vault
4
4
ms.topic: how-to
5
-
ms.date: 03/05/2025
5
+
ms.date: 02/27/2025
6
6
ms.service: azure-backup
7
7
ms.custom: engagement-fy23
8
8
author: jyothisuri
@@ -15,19 +15,24 @@ This article describes how to back up [Azure Files](../storage/files/storage-fil
15
15
16
16
Azure Files backup is a native cloud solution that protects your data and eliminates on-premises maintenance overheads. Azure Backup seamlessly integrates with Azure File Sync, centralizing your file share data and backups. The simple, reliable, and secure solution allows you to protect your enterprise file shares using [snapshot](azure-file-share-backup-overview.md?tabs=snapshot) and [vaulted](azure-file-share-backup-overview.md?tabs=vault-standard) backups, ensuring data recovery for accidental or malicious deletion.
17
17
18
+
[Azure Backup](backup-overview.md) supports configuring [snapshot](azure-file-share-backup-overview.md?tabs=snapshot) and [vaulted](azure-file-share-backup-overview.md?tabs=vault-standard) backups for Azure Files in your storage accounts. You can:
19
+
20
+
- Define backup schedules and retention settings.
21
+
- Store backup data in the Recovery Service vault, retaining it for up to **10 years**.
22
+
23
+
18
24
## Prerequisites
19
25
20
26
* Ensure the file share is present in one of the supported storage account types. Review the [support matrix](azure-file-share-support-matrix.md).
21
-
* Identify or create a [Recovery Services vault](#create-a-recovery-services-vault) in the same region and subscription as the storage account that hosts the file share.
27
+
* Identify or create a [Recovery Services vault](tutorial-backup-azure-files-vault-tier-portal.md#create-a-recovery-services-vault) in the same region and subscription as the storage account that hosts the file share.
28
+
*[Create a backup policy for protection of Azure Files](quick-backup-azure-files-vault-tier-portal.md).
22
29
* If the storage account access has restrictions, check the firewall settings of the account to ensure the exception **Allow Azure services on the trusted services list to access this storage account** is in grant state. You can refer to [this](../storage/common/storage-network-security.md?tabs=azure-portal#manage-exceptions) link for the steps to grant an exception.
23
30
* Ensure that you allow the **Storage account key access** in the required storage account.
24
31
25
32
>[!Important]
26
33
>To perform [Cross Subscription Backup (CSB) for protecting Azure Files (preview)](azure-file-share-backup-overview.md#how-cross-subscription-backup-for-azure-files-preview-works) in another subscription, ensure you register `Microsoft.RecoveryServices` in the **subscription of the file share** in addition to the given prerequisites. Learn about the [supported regions for Cross Subscription Backup (preview)](azure-file-share-support-matrix.md#supported-regions-for-cross-subscription-backup-preview).
27
34
28
35
29
-
[!INCLUDE [How to create a Recovery Services vault](../../includes/backup-create-rs-vault.md)]
30
-
31
36
## Configure the backup
32
37
33
38
You can configure *snapshot backup* and *vaulted backup* for Azure Files from the *Recovery Services vault* or *File share pane*.
@@ -87,7 +92,7 @@ To configure backup for multiple file shares from the Recovery Services vault, f
87
92
1. Configure the *Snapshot retention* and *Vault retention* duration to determine the expiry date of the recovery points.
88
93
89
94
>[!Note]
90
-
>The *vault tier* provides longer retention than the *snapshot tier*.
95
+
>The *vault tier* provides longer retention than the *snapshot tier*.
91
96
1. Select **OK** to create the backup policy.
92
97
93
98
:::image type="content" source="./media/backup-afs/create-backup-policy-for-azure-file-share.png" alt-text="Screenshot shows how to create a new backup policy for Azure Files." lightbox="./media/backup-afs/create-backup-policy-for-azure-file-share.png":::
@@ -172,68 +177,12 @@ The following steps explain how you can configure backup for individual file sha
172
177
173
178
---
174
179
175
-
## Run an on-demand backup job
176
-
177
-
Occasionally, you might want to generate a backup snapshot, or recovery point, outside of the times scheduled in the backup policy. A common reason to generate an on-demand backup is right after you configure the backup policy. Based on the schedule in the backup policy, it might be hours or days until a snapshot is taken. To protect your data until the backup policy engages, initiate an on-demand backup. Creating an on-demand backup is often required before you make planned changes to your file shares.
1. Go to the **Recovery Services vault** and select **Backup items** from the menu.
186
-
187
-
1. On the **Backup items** pane, select the **Backup Management Type** as **Azure Storage (Azure Files)**.
188
-
189
-
1. Select the item for which you want to run an on-demand backup job.
190
-
191
-
1. In the **Backup Item** menu, select **Backup now**. Because this backup job is on demand, there's no retention policy associated with the recovery point.
192
-
193
-
:::image type="content" source="./media/backup-afs/azure-file-share-backup-now.png" alt-text="Screenshot showing to select Backup now." lightbox="./media/backup-afs/azure-file-share-backup-now.png":::
194
-
195
-
1. The **Backup Now** pane opens. Specify the last day you want to retain the recovery point. You can have a maximum retention of 10 years for an on-demand backup.
196
-
197
-
:::image type="content" source="./media/backup-afs/azure-file-share-on-demand-backup-retention.png" alt-text="Screenshot showing to choose retention date.":::
198
-
199
-
1. Select **OK** to confirm the on-demand backup job that runs.
200
-
201
-
1. Monitor the portal notifications to keep track of backup job run completion.
202
-
203
-
To monitor the job progress in the **Recovery Services vault** dashboard, go to **Recovery Services vault** > **Backup Jobs** > **In progress**.
204
-
205
-
# [File share pane](#tab/file-share-pane)
206
-
207
-
To run an on-demand backup, follow these steps:
208
-
209
-
1. Open the file share’s **Overview** pane for which you want to take an on-demand backup.
210
-
211
-
1. Under the **Operation** section, select **Backup**.
212
-
213
-
The context pane appears that lists **Vault Essentials**. Select **Backup Now** to take an on-demand backup.
214
-
215
-

216
-
217
-
1. The **Backup Now** pane opens. Specify the retention for the recovery point. You can have a maximum retention of 10 years for an on-demand backup.
218
-
219
-

220
-
221
-
1. Select **OK** to confirm.
222
-
223
-
>[!NOTE]
224
-
>Azure Backup locks the storage account when you configure protection for any file share in the corresponding account. This feature provides protection against accidental deletion of a storage account with backed up file shares.
225
-
226
-
---
227
-
228
-
## Best practices
229
-
230
-
* Don't delete snapshots created by Azure Backup. Deleting snapshots can result in loss of recovery points and/or restore failures.
180
+
Once the backup configuration is complete, you can [run an on-demand backup](tutorial-backup-azure-files-vault-tier-portal.md#run-an-on-demand-backup-job) to create the recovery point.
231
181
232
-
* Don't remove the lock taken on the storage account by Azure Backup. Deletion of the lock can make your storage account prone to accidental deletion. Learn more [about protect your resources with lock](/azure/azure-resource-manager/management/lock-resources).
Copy file name to clipboardExpand all lines: articles/backup/manage-afs-backup-cli.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
---
2
2
title: Manage Azure Files backups with the Azure CLI
3
-
description: Learn how to use the Azure CLI to manage and monitor Azure Files backedup by Azure Backup.
3
+
description: Learn how to manage and monitor the backed-up Azure Files using Azure CLI.
4
4
ms.topic: how-to
5
5
ms.custom: devx-track-azurecli
6
-
ms.date: 03/05/2025
6
+
ms.date: 02/27/2025
7
7
author: jyothisuri
8
8
ms.author: jsuri
9
9
10
10
---
11
11
12
12
# Manage Azure Files backups with the Azure CLI
13
13
14
-
This article describes how to manage and monitor the backed-up Azure Files ([snapshot](azure-file-share-backup-overview.md?tabs=snapshot) and [vaulted](azure-file-share-backup-overview.md?tabs=vault-standard) backups) via [Azure Backup](./backup-overview.md)using Azure CLI. The Azure CLI provides a command-line experience for managing Azure resources. It's a great tool for building custom automation to use Azure resources. You can also perform these steps with the [Azure portal](https://portal.azure.com/).
14
+
This article describes how to manage and monitor the backed-up Azure Files ([snapshot](azure-file-share-backup-overview.md?tabs=snapshot) and [vaulted](azure-file-share-backup-overview.md?tabs=vault-standard) backups) using Azure CLI. The Azure CLI provides a command-line experience for managing Azure resources. It's a great tool for building custom automation to use Azure resources. You can also perform these steps with the [Azure portal](https://portal.azure.com/).
Copy file name to clipboardExpand all lines: articles/backup/quick-backup-azure-files-vault-tier-cli.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,19 @@
1
1
---
2
-
title: Quickstart - Azure CLI for Azure Files vaulted backup
3
-
description: Learn how to back up your Azure Files to vault-tier with Azure CLI.
2
+
title: Quickstart - Configure vaulted backup for Azure Files using Azure CLI
3
+
description: Learn how to configure vaulted backup for Azure Files using Azure CLI.
4
4
ms.devlang: azurecli
5
5
ms.custom:
6
6
- ignite-2024
7
7
ms.topic: quickstart
8
-
ms.date: 10/07/2024
8
+
ms.date: 02/27/2025
9
9
ms.service: azure-backup
10
10
author: jyothisuri
11
11
ms.author: jsuri
12
12
---
13
13
14
14
# Quickstart: Configure vaulted backup for Azure Files using Azure CLI
15
15
16
-
This quickstart describes how to configure vaulted backup for Azure Files using Azure CLI. The Azure CLI is used to create and manage Azure resources from the command line or in scripts. You can also perform these steps with [Azure PowerShell](quick-backup-azure-files-vault-tier-powershell.md) or in the [Azure portal](quick-backup-azure-files-vault-tier-portal.md).
16
+
This quickstart describes how to configure vaulted backup for Azure Files using Azure CLI. The Azure CLI is used to create and manage Azure resources from the command line or in scripts. You can also perform these steps with [Azure PowerShell](quick-backup-azure-files-vault-tier-powershell.md) or in the [Azure portal](tutorial-backup-azure-files-vault-tier-portal.md#configure-backup).
17
17
18
18
[Azure Backup](backup-overview.md) supports configuring [snapshot](azure-file-share-backup-overview.md?tabs=snapshot) and [vaulted](azure-file-share-backup-overview.md?tabs=vault-standard) backups for Azure Files in your storage accounts. Vaulted backups offer an offsite solution, storing data in a general v2 storage account to protect against ransomware and malicious admin actions. You can:
19
19
@@ -93,10 +93,10 @@ output
93
93
}
94
94
```
95
95
96
-
## Next step
96
+
## Next steps
97
97
98
-
-[Restore Azure Files using CLI](restore-afs-cli.md)
99
-
-[Manage Azure Files backups using CLI](manage-afs-backup-cli.md?tabs=vault-standard)
98
+
-[Restore Azure Files using CLI](restore-afs-cli.md).
99
+
-[Manage Azure Files backups using CLI](manage-afs-backup-cli.md?tabs=vault-standard).
0 commit comments