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/backup-azure-afs-automation.md
-13Lines changed: 0 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -268,19 +268,6 @@ On-demand backups can be used to retain your snapshots for 10 years. Schedulers
268
268
269
269
If you are looking for sample scripts, you can refer to the sample script on GitHub (<https://github.com/Azure-Samples/Use-PowerShell-for-long-term-retention-of-Azure-Files-Backup>) using Azure Automation runbook that enables you to schedule backups on a periodic basis and retain them even up to 10 years.
270
270
271
-
### Modify the protection policy
272
-
273
-
To change the policy used for backing up the Azure file share, use [Enable-AzRecoveryServicesBackupProtection](https://docs.microsoft.com/powershell/module/az.recoveryservices/enable-azrecoveryservicesbackupprotection?view=azps-1.4.0). Specify the relevant backup item and the new backup policy.
274
-
275
-
The following example changes the **testAzureFS** protection policy from **dailyafs** to **monthlyafs**.
Copy file name to clipboardExpand all lines: articles/backup/manage-afs-powershell.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,9 +52,7 @@ $job.ErrorDetails
52
52
1073871825 Microsoft Azure Backup encountered an internal error. Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.
53
53
```
54
54
55
-
## Manage Azure File Shares backup
56
-
57
-
### Stop Protection on a file share
55
+
## Stop protection on a file share
58
56
59
57
There are two ways to stop protecting Azure file shares:
60
58
@@ -63,7 +61,7 @@ There are two ways to stop protecting Azure file shares:
63
61
64
62
There may be a cost associated with leaving the recovery points in storage, as the underlying snapshots created by Azure Backup will be retained. However, the benefit of leaving the recovery points is you can restore the file share later, if desired. For information about the cost of leaving the recovery points, see the [pricing details](https://azure.microsoft.com/pricing/details/storage/files/). If you choose to delete all recovery points, you can't restore the file share.
65
63
66
-
####Stop Protection and retain recovery points
64
+
## Stop protection and retain recovery points
67
65
68
66
To stop protection while retaining data, use the [Disable-AzRecoveryServicesBackupProtection](https://docs.microsoft.com/powershell/module/az.recoveryservices/disable-azrecoveryservicesbackupprotection?view=azps-3.3.0) cmdlet.
The Job ID attribute in the output corresponds to the Job ID of the job that is created by the backup service for your “stop protection” operation. To track the status of the job, use the [Get-AzRecoveryServicesBackupJob](https://docs.microsoft.com/powershell/module/az.recoveryservices/get-azrecoveryservicesbackupjob?view=azps-3.3.0) cmdlet.
85
83
86
-
####Stop Protection without retaining recovery points
84
+
## Stop protection without retaining recovery points
87
85
88
86
To stop protection without retaining recovery points, use the [Disable-AzRecoveryServicesBackupProtection](https://docs.microsoft.com/powershell/module/az.recoveryservices/disable-azrecoveryservicesbackupprotection?view=azps-3.3.0) cmdlet and add the **-RemoveRecoveryPoints** parameter.
89
87
@@ -92,7 +90,7 @@ The following example stops protection for the *afsfileshare* file share without
Copy file name to clipboardExpand all lines: articles/backup/restore-afs-powershell.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.date: 1/27/2020
7
7
8
8
# Restore Azure Files with PowerShell
9
9
10
-
This article describes how to use Azure PowerShell to back up and recover an Azure Files file share using an[Azure Backup](backup-overview.md)Recovery Services vault.
10
+
This article explains how to restore an entire file share, or specific files, from a restore point created by the[Azure Backup](backup-overview.md)service using Azure Powershell.
11
11
12
12
You can restore an entire file share or specific files on the share. You can restore to the original location, or to an alternate location.
0 commit comments