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/app-service/app-service-undelete.md
+37-8Lines changed: 37 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,27 +49,56 @@ The detailed information includes:
49
49
## Restore deleted app
50
50
51
51
>[!NOTE]
52
-
> `Restore-AzDeletedWebApp` isn't supported for function apps.
52
+
>-`Restore-AzDeletedWebApp` isn't supported for function apps.
53
+
>- The Restore-AzDeletedWebApp cmdlet restores a deleted web app. The web app specified by TargetResourceGroupName, TargetName, and TargetSlot will be overwritten with the contents and settings of the deleted web app. If the target parameters are not specified, they will automatically be filled with the deleted web app's resource group, name, and slot. If the target web app does not exist, it will automatically be created in the app service plan specified by TargetAppServicePlanName.
54
+
>- By default `Restore-AzDeletedWebApp` will restore both your app configuration as well any content. If you want to only restore content, you use the **`-RestoreContentOnly`** flag with this commandlet.
53
55
54
-
Once the app you want to restore has been identified, you can restore it using `Restore-AzDeletedWebApp`.
55
56
57
+
Once the app you want to restore has been identified, you can restore it using `Restore-AzDeletedWebApp`, please see below examples
58
+
>*You can find the full commandlet reference here: **[Restore-AzDeletedWebApp](/powershell/module/az.websites/restore-azdeletedwebapp)*** .
> Deployment slots are not restored as part of your app. If you need to restore a staging slot, use the `-Slot <slot-name>` flag.
61
-
>
77
+
> By default `Restore-AzDeletedWebApp` will restore both your app configuration as well any content to target app. If you want to only restore content, you use the `-RestoreContentOnly` flag with this commandlet.
-**Target Resource Group**: Target resource group where the app will be restored
66
-
-**Name**: Name for the app, should be globally unique.
93
+
-**TargetName**: Target app for the deleted app to be restored to
67
94
-**TargetAppServicePlanName**: App Service plan linked to the app
68
-
69
-
By default `Restore-AzDeletedWebApp` will restore both your app configuration as well any content. If you want to only restore content, you use the `-RestoreContentOnly` flag with this commandlet.
95
+
-**Name**: Name for the app, should be globally unique.
96
+
-**ResourceGroupName**: Original resource group for the deleted app
97
+
-**Slot**: Slot for the deleted app
98
+
-**RestoreContentOnly**: y default `Restore-AzDeletedWebApp` will restore both your app configuration as well any content. If you want to only restore content, you use the `-RestoreContentOnly` flag with this commandlet.
70
99
71
100
> [!NOTE]
72
101
> If the app was hosted on and then deleted from an App Service Environment, it can be restored only if the corresponding App Service Environment still exists.
73
-
>
74
102
75
-
You can find the full commandlet reference here: [Restore-AzDeletedWebApp](/powershell/module/az.websites/restore-azdeletedwebapp).
0 commit comments