Ensure that Backup and Restore feature is enabled and configured to create custom backups for your Microsoft Azure App Service applications.
To protect your App Service applications against accidental deletion and/or corruption, you can configure application backups to create restorable copies of your app content, its configuration files, and the database connected to your application. There are two types of backups in Azure App Service: automatic and custom backups. Although automatic backups offer simplicity and convenience, it's important to note that these backups are stored within the same Azure App Service datacenter and should not be considered a reliable disaster recovery solution. Consequently, automatic backups may not align with your specific backup requirements and retention policies. For better control and flexibility, it is recommended that your App Service applications employ custom backups. Custom backups allow you to schedule backups at specific times, retain backups for longer periods (up to an indefinite amount of time), and store them in custom, dedicated storage accounts, ensuring data protection tailored to your needs.
Note: Application backups require the Azure App Service plan to be in the Standard tier or Premium tier.
Audit
To determine if your Azure App Service applications are configured to create custom backups, perform the following actions:
Remediation / Resolution
To enable and configure custom backups for your Microsoft Azure App Service applications, perform the following actions:
References
- Azure Official Documentation
- App Service
- Back up and restore your app in Azure App Service
- Backup and restore a web app from a backup using CLI
- Azure Command Line Interface (CLI) Documentation
- az webapp list
- az webapp config backup show
- az webapp config backup update
- az storage account create
- az storage container create
- az storage container generate-sas