Skip to content

Commit 1da62a4

Browse files
Merge pull request #250410 from cephalin/vnetbackup
add vnet backup
2 parents f9ff51e + 761dbcd commit 1da62a4

File tree

1 file changed

+24
-8
lines changed

1 file changed

+24
-8
lines changed

articles/app-service/manage-backup.md

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ In [Azure App Service](overview.md), you can easily restore app backups. You can
1515
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).
1616

1717
> [!NOTE]
18-
> For App Service environments:
18+
> For App Service Environments:
1919
>
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.
2222
> - Backups can be restored to target app of the same OS platform as the source app.
2323
2424
[!INCLUDE [backup-restore-vs-disaster-recovery](./includes/backup-restore-disaster-recovery.md)]
@@ -38,6 +38,7 @@ There are two types of backups in App Service. Automatic backups made for your a
3838
| 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. |
3939
| Downloadable | No. | Yes, as Azure Storage blobs. |
4040
| Partial backups | Not supported. | Supported. |
41+
| Back up over VNet | Not supported. | Supported. |
4142

4243
<!-- - No file copy errors due to file locks. -->
4344

@@ -155,7 +156,7 @@ There are two types of backups in App Service. Automatic backups made for your a
155156
156157
#### Back up and restore a linked database
157158
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:
159160
160161
1. Make sure the linked database is [supported](#automatic-vs-custom-backups).
161162
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:
168169
169170
For troubleshooting information, see [Why is my linked database not backed up](#why-is-my-linked-database-not-backed-up).
170171
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+
171188
<a name="partialbackups"></a>
172189
173190
## Configure partial backups
@@ -300,6 +317,8 @@ The following table shows which app configuration is restored when you choose to
300317
301318
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.
302319
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+
303322
#### Why is my linked database not backed up?
304323
305324
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.
314333
315334
#### Can I use a storage account that has security features enabled?
316335
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).
321337
322338
#### How do I restore to an app in a different subscription?
323339

0 commit comments

Comments
 (0)