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/manage-backup.md
+24-8Lines changed: 24 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,10 @@ In [Azure App Service](overview.md), you can easily restore app backups. You can
15
15
Back up and restore are supported in **Basic**, **Standard**, **Premium**, and **Isolated** tiers. For **Basic** tier, only the production slot can be backed up and restored. For more information about scaling your App Service plan to use a higher tier, see [Scale up an app in Azure](manage-scale-up.md).
16
16
17
17
> [!NOTE]
18
-
> For App Service environments:
18
+
> For App Service Environments:
19
19
>
20
-
> - Automatic backups can be restored to a target app within the ASE itself, not in another ASE.
21
-
> - Custom backups can be restored to a target app in another ASE, such as from a V2 ASE to a V3 ASE.
20
+
> - Automatic backups can be restored to a target app within the App Service environment itself, not in another App Service environment.
21
+
> - Custom backups can be restored to a target app in another App Service environment, such as from App Service Environment v2 to App Service Environment v3.
22
22
> - Backups can be restored to target app of the same OS platform as the source app.
@@ -38,6 +38,7 @@ There are two types of backups in App Service. Automatic backups made for your a
38
38
| Retention | 30 days, not configurable. <br>- Days 1-3: hourly backups retained.<br>- Days 4-14: every 3 hourly backup retained.<br>- Days 15-30: every 6 hourly backup retained. | 0-30 days or indefinite. |
| Back up over VNet | Not supported. | Supported. |
41
42
42
43
<!-- - No file copy errors due to file locks. -->
43
44
@@ -155,7 +156,7 @@ There are two types of backups in App Service. Automatic backups made for your a
155
156
156
157
#### Back up and restore a linked database
157
158
158
-
Custom backups can include linked databases. To make sure your backup includes a linked database, do the following:
159
+
Custom backups can include linked databases (except when the backup is configured over an Azure Virtual Network). To make sure your backup includes a linked database, do the following:
159
160
160
161
1. Make sure the linked database is [supported](#automatic-vs-custom-backups).
161
162
1. Create a connection string that points to your database. A database is considered "linked" to your app when there's a valid connection string for it in your app's configuration.
@@ -168,6 +169,22 @@ To restore a database that's included in a custom backup:
168
169
169
170
For troubleshooting information, see [Why is my linked database not backed up](#why-is-my-linked-database-not-backed-up).
170
171
172
+
## Back up and restore over Azure Virtual Network (preview)
173
+
174
+
With [custom backups](#create-a-custom-backup), you can back up your app's files and configuration data to a firewall-protected storage account if the following requirements are fulfilled:
175
+
176
+
- The app is [integrated with a virtual network](overview-vnet-integration.md), or the app is in a v3 [App Service environment](environment/app-service-app-service-environment-intro.md).
177
+
- The storage account has [granted access from the virtual network](../storage/common/storage-network-security.md#grant-access-from-a-virtual-network) that the app is integrated with, or that the v3 App Service environment is created with.
178
+
179
+
To back up and restore over Azure Virtual Network:
180
+
181
+
1. When configuring [custom backups](#create-a-custom-backup), select **Backup/restore over virtual network integration**.
182
+
1. Save your settings by selecting **Configure**.
183
+
184
+
If you don't see the checkbox, or if the checkbox is disabled, verify that you have fulfilled the aforementioned requirements.
185
+
186
+
Once the configuration is saved, any manual, scheduled backup, or restore is made through the virtual network. If you make changes to the app, the virtual network, or the storage account that prevent the app from accessing the storage account through the virtual network, the backup or restore operations will fail.
187
+
171
188
<a name="partialbackups"></a>
172
189
173
190
## Configure partial backups
@@ -300,6 +317,8 @@ The following table shows which app configuration is restored when you choose to
300
317
301
318
A custom backup (on-demand backup or scheduled backup) includes all content and configuration that's included in an [automatic backup](#whats-included-in-an-automatic-backup), plus any linked database, up to the allowable maximum size.
302
319
320
+
When [backing up over an Azure Virtual Network](#back-up-and-restore-over-azure-virtual-network-preview), you can't [back up the linked database](#back-up-and-restore-a-linked-database).
321
+
303
322
#### Why is my linked database not backed up?
304
323
305
324
Linked databases are backed up only for custom backups, up to the allowable maximum size. If the maximum backup size (10 GB) or the maximum database size (4 GB) is exceeded, your backup fails. Here are a few common reasons why your linked database isn't backed up:
@@ -314,10 +333,7 @@ Automatic backups can't be restored if the backup size exceeds the maximum size.
314
333
315
334
#### Can I use a storage account that has security features enabled?
316
335
317
-
The following security features in Azure storage aren't supported for custom backups:
318
-
319
-
* Using a [firewall enabled storage account](../storage/common/storage-network-security.md) as the destination for your backups isn't supported. If a backup is configured, you will encounter backup failures.
320
-
* Using a [private endpoint enabled storage account](../storage/common/storage-private-endpoints.md) for backup and restore isn't supported.
336
+
You can back up to a firewall-protected storage account if it's part of the same virtual network topology as your app. See [Back up and restore over Azure Virtual Network (preview)](#back-up-and-restore-over-azure-virtual-network-preview).
321
337
322
338
#### How do I restore to an app in a different subscription?
0 commit comments