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
+49Lines changed: 49 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -412,6 +412,55 @@ $job.ErrorDetails
412
412
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.
413
413
```
414
414
415
+
## Manage Azure File Shares backup
416
+
417
+
### Stop Protection on a file share
418
+
419
+
There are two ways to stop protecting Azure file shares:
420
+
421
+
* Stop all future backup jobs and *delete* all recovery points
422
+
* Stop all future backup jobs but *leave* the recovery points
423
+
424
+
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.
425
+
426
+
#### Stop Protection and retain recovery points
427
+
428
+
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.
429
+
430
+
The following example stops protection for the *afsfileshare* file share but retains all recovery points:
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.
445
+
446
+
#### Stop Protection without retaining recovery points
447
+
448
+
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.
449
+
450
+
The following example stops protection for the *afsfileshare* file share without retaining recovery points:
0 commit comments