Restore an app in Azure

This article shows you how to restore an app in Azure App Service that you have previously backed up (see Back up your app in Azure). You can restore your app with its linked databases on-demand to a previous state, or create a new app based on one of your original app's backups. Azure App Service supports the following databases for backup and restore:

Restoring from backups is available to apps running in Standard and Premium tier. For information about scaling up your app, see Scale up an app in Azure. Premium tier allows a greater number of daily backups to be performed than Standard tier.

Restore an app from an existing backup

  1. On the Settings page of your app in the Azure portal, click Backups to display the Backups page. Then click Restore.

    Choose restore now

  2. In the Restore page, first select the backup source.

    Screenshot that shows where to select the backup source.

    The App backup option shows you all the existing backups of the current app, and you can easily select one. The Storage option lets you select any backup ZIP file from any existing Azure Storage account and container in your subscription. If you're trying to restore a backup of another app, use the Storage option.

  3. Then, specify the destination for the app restore in Restore destination.

    Screenshot that shows where to specify the destination for the app restore.


    If you choose Overwrite, all existing data in your current app is erased and overwritten. Before you click OK, make sure that it is exactly what you want to do.


    If the App Service is writing data to the database while you are restoring it, it may result in symptoms such as violation of PRIMARY KEY and data loss. It is suggested to stop the App Service first before you start to restore the database.

    You can select Existing App to restore the app backup to another app in the same resource group. Before you use this option, you should have already created another app in your resource group with mirroring database configuration to the one defined in the app backup. You can also Create a New app to restore your content to.

  4. Click OK.

Download or delete a backup from a storage account

  1. From the main Browse page of the Azure portal, select Storage accounts. A list of your existing storage accounts is displayed.

  2. Select the storage account that contains the backup that you want to download or delete. The page for the storage account is displayed.

  3. In the storage account page, select the container you want

    View Containers

  4. Select backup file you want to download or delete.


  5. Click Download or Delete depending on what you want to do.

Monitor a restore operation

To see details about the success or failure of the app restore operation, navigate to the Activity Log page in the Azure portal.

Scroll down to find the desired restore operation and click to select it.

The details page displays the available information related to the restore operation.

Automate with scripts

You can automate backup management with scripts, using the Azure CLI or Azure PowerShell.

For samples, see: