Skill 3.4.6

Configure backup for an App Service

Key Concepts

Backup and restore is supported in Basic, Standard, Premium and Isolated tiers, and the Basic tier can back up only the production slot. Automatic backups need no configuration: they run hourly, are kept for 30 days, can be up to 30 GB and are stored in the platform, not downloadable. Custom backups are written to a storage account container that you configure, on demand or on a schedule (at least every two hours, up to 12 per day), with retention of 0 to 30 days or indefinitely, and a 10 GB size limit.

Custom backups can exclude content with a _backup.filter file, can run over virtual network integration to a firewall-protected storage account, and can be downloaded and restored to an app in another subscription. Backups include app files and configuration but not network features, custom domains, TLS bindings or managed identities. Restoring stops the target app, so restoring to a staging slot and swapping avoids downtime. The option to include linked databases in new custom backups has been removed, so databases should use their native backup features.