Skip to content

Commit b514665

Browse files
Merge pull request #210827 from cephalin/main
basic/ASE preview
2 parents e50b077 + aad8800 commit b514665

File tree

1 file changed

+34
-11
lines changed

1 file changed

+34
-11
lines changed

articles/app-service/manage-backup.md

Lines changed: 34 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Back up an app
33
description: Learn how to restore backups of your apps in Azure App Service or configure custom backups. Customize backups by including the linked database.
44
ms.assetid: 6223b6bd-84ec-48df-943f-461d84605694
55
ms.topic: article
6-
ms.date: 06/17/2022
6+
ms.date: 09/09/2022
77
ms.custom: seodec18
88

99
---
@@ -14,6 +14,13 @@ In [Azure App Service](overview.md), you can easily restore app backups. You can
1414

1515
Back up and restore **Standard**, **Premium**, **Isolated**. 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

17+
> [!NOTE]
18+
> Support for custom and automatic backups in **Basic** tier (production slot only) and in App Service environments (ASE) V2 and V3 is in preview. For App Service environments:
19+
>
20+
> - Backups can be restored to a target app within the ASE itself, not in another ASE.
21+
> - Backups can be restored to a target app in another App Service plan in the ASE.
22+
> - Backups can be restored to target app of the same OS platform as the source app.
23+
1724
## Automatic vs custom backups
1825

1926
There are two types of backups in App Service. Automatic backups made for your app regularly as long as it's in a supported pricing tier. Custom backups require initial configuration, and can be made on-demand or on a schedule. The following table shows the differences between the two types.
@@ -43,7 +50,7 @@ There are two types of backups in App Service. Automatic backups made for your a
4350

4451
:::image type="content" source="./media/manage-backup/open-backups-page.png" alt-text="Screenshot that shows how to open the backups page.":::
4552

46-
1. Select the backup to restore by clicking its **Restore** link.
53+
1. Select the automatic backup or custom backup to restore by clicking its **Restore** link.
4754

4855
:::image type="content" source="./media/manage-backup/click-restore-link.png" alt-text="Screenshot that shows how to select the restore link.":::
4956

@@ -59,11 +66,7 @@ There are two types of backups in App Service. Automatic backups made for your a
5966

6067
# [Azure CLI](#tab/cli)
6168

62-
<!-- # [Automatic backups](#tab/auto)
63-
-->
64-
65-
> [!NOTE]
66-
> These CLI steps apply to automatic backups only.
69+
<!-- # [Automatic backups](#tab/cli/auto) -->
6770

6871
1. List the automatic backups for your app. In the command output, copy the `time` property of the backup you want to restore.
6972

@@ -85,7 +88,7 @@ There are two types of backups in App Service. Automatic backups made for your a
8588
8689
To restore app content only and not the app configuration, use the `--restore-content-only` parameter. For more information, see [az webapp config snapshot restore](/cli/azure/webapp/config/snapshot#az-webapp-config-snapshot-restore).
8790
88-
<!-- # [Custom backups](#tab/custom)
91+
<!-- # [Custom backups](#tab/cli/custom)
8992
9093
1. List the custom backups for your app and copy the `namePropertiesName` and `storageAccountUrl` properties of the backup you want to restore.
9194
@@ -148,11 +151,26 @@ There are two types of backups in App Service. Automatic backups made for your a
148151
149152
1. Configure the backup schedule as desired and select **Configure**.
150153
154+
#### Back up and restore a linked database
155+
156+
Custom backups can include linked databases. To make sure your backup includes a linked database, do the following:
157+
158+
1. Make sure the linked database is [supported](#automatic-vs-custom-backups).
159+
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.
160+
1. Follow the steps in [Create a custom backup](#create-a-custom-backup) to select the linked database in the **Advanced** tab.
161+
162+
To restore a database that's included in a custom backup:
163+
164+
1. Follow the steps in [Restore a backup](#restore-a-backup).
165+
1. In **Advanced options**, select **Include database**.
166+
167+
For troubleshooting information, see [Why is my linked database not backed up](#why-is-my-linked-database-not-backed-up).
168+
151169
<a name="partialbackups"></a>
152170
153171
## Configure partial backups
154172
155-
Partial backups are supported for custom backups. Sometimes you don't want to back up everything on your app. Here are a few examples:
173+
Partial backups are supported for custom backups (not for automatic backups). Sometimes you don't want to back up everything on your app. Here are a few examples:
156174
157175
* You [set up weekly backups](#configure-custom-scheduled-backups) of your app that contains static content that never changes, such as old blog posts or images.
158176
* Your app has over 10 GB of content (that's the max amount you can back up at a time).
@@ -234,7 +252,8 @@ For samples, see:
234252
- [Why is my linked database not backed up?](#why-is-my-linked-database-not-backed-up)
235253
- [What happens if the backup size exceeds the allowable maximum?](#what-happens-if-the-backup-size-exceeds-the-allowable-maximum)
236254
- [Can I use a storage account that has security features enabled?](#can-i-use-a-storage-account-that-has-security-features-enabled)
237-
- [## How do I restore to an app in a different subscription?](#how-do-i-restore-to-an-app-in-a-different-subscription)
255+
- [How do I restore to an app in a different subscription?](#how-do-i-restore-to-an-app-in-a-different-subscription)
256+
- [How do I restore to an app in the same subscription but in a different region?](#how-do-i-restore-to-an-app-in-the-same-subscription-but-in-a-different-region)
238257
239258
#### Are the backups incremental updates or complete backups?
240259
@@ -252,7 +271,7 @@ The following table shows which content is backed up in an automatic backup:
252271
|-|-|
253272
| **Windows apps**: All app content under `%HOME%` directory<br/>**Linux apps**: All app content under `/home` directory<br/>**Custom containers (Windows and Linux)**: Content in [persistent storage](configure-custom-container.md?pivots=container-linux#use-persistent-shared-storage)| Yes |
254273
| Content of the [run-from-ZIP package](deploy-run-package.md)| No |
255-
| Content from any [custom mounted Azure storage](configure-connect-to-azure-storage.md?pivots=container-windows)| No |
274+
| Content from any [custom mounted Azure storage](configure-connect-to-azure-storage.md?pivots=container-windows), such as from an Azure Files share. | No |
256275
257276
The following table shows which app configuration is restored when you choose to restore app configuration:
258277
@@ -307,6 +326,10 @@ The following security features in Azure storage aren't supported for custom bac
307326
1. In Name, select **Browse** and select the downloaded ZIP file.
308327
1. Configure the rest of the sections like in [Restore a backup](#restore-a-backup).
309328
329+
#### How do I restore to an app in the same subscription but in a different region?
330+
331+
The steps are the same as in [How do I restore to an app in a different subscription](#how-do-i-restore-to-an-app-in-a-different-subscription).
332+
310333
<a name="nextsteps"></a>
311334
312335
## Next Steps

0 commit comments

Comments
 (0)