How to delete a Web App backup
This article has been moved to its new home here: https://benperk.github.io/msdn/2016/2016-05-how-to-delete-a-web-app-backup.html
Backing up your Web App and associated database is something you need to take very seriously. You never know when something might happen that requires a restoration of a backup. For example, the deployment of some bad code or the accidental removal of numerous files. Individuals or companies running IT services without backups, are taking a huge risk which could result in loss of visitors and customers.
Overtime, as your Web App grows, so would the size and number of your backups. Some housekeeping is necessary to maintain the integrity and usability of your backups. Do you need a backup of a Web App that is multiple revisions old? If I ever had to roll back, I would only roll back to the most recent one. There may be some reasons to keep some older ones, but not so many.
Here is a nice article about Web App backups.
To remove some of your Web App backups, first determine where you are storing them. As shown in Figure 1, the Web App ‘deletebackup’ is storing the backups into the ‘deletebackup’ STORAGE ACCOUNT. You can also run a one-time backup from this page, by clicking on the BACKUP NOW button.
If you do decide to run a backup, you can view the operation logs accessible from the Web App DASHBOARD as shown in Figure 2.
Clicking on that link navigates to the management services page which shows the status of the backup, as illustrated in Figure 3. Once complete, the status will show as Succeeded where operation is BackupWebSite.
Once you have a backup, navigate to the Storage Account where it is stored. As shown in Figure 4, a container named ‘websitebackups’ is created. The same is visible in the new Azure Portal shown in Figure 5.
As shown in Figure 6 and Figure 7, clicking on the ‘websitebackups’ container renders the list of Web App backups. Perhaps you can select the oldest backups and delete them or delete the backups which you are certain are no longer needed.
NOTE: At the moment a Web App backup is limited to 10GB, this includes the database size, which is limited to 1GB. Additionally, I have seen issues when the total space taken for all Web App backups is greater than 100GB. So it behooves you to maintain the backups. Yes, you can manage the retention days for the Web App backups, however, some additional maintenance may require this type of manual intervention. I had this experience and is the reason for writing this article.
In conclusion, take backups, manage your backups, have a plan for capturing, storing and maintaining them. Take the time to practice the recovery of them on a test Web App, so when the time comes and you need a restore, you’re not learning how to do it under pressure.