Most folks aren’t aware of how powerful the Azure platform really is. As I’ve been presenting topics on Azure, I’ve had many people say, “How did you do that?” So I’ll be documenting my tips and tricks for Azure in these posts.
The Complete List of Azure Tips and Tricks
Configure a Backup for your Azure App Service and Database
Most folks don’t realize how easy it is to configure a backup copy of your Azure App Service to ensure you have restorable archive copies of your app and database. In order to take advantage of this, you’ll need to log into your Azure account and go to your App Service that you created and look under Settings then you will see Backup.
Open it and select Configure and you’ll see the following screen.
You’ll want to configure the Backup Storage first as that sets the container that you’ll use to store your backup.
I simply gave it a name, used stardard performance and setup replication and location.
Now you’ll need to configure a container to store your backup.
Next, you’ll want to make sure that Scheduled backup is set to On. You’ll want to configure the Days and Hours and then the current schedule that it should backup from. I set mine to backup every 7 days and starting from now. You’ll also want to set the retention and by default it will keep as least one backup. If you have a database, then you can also add it with just a checkmark.
Once everything is set, you can see whatn the next backup is configured and can either force it manually or restore from an existing backup with just a visit to the Azure Portal.
Once it completed, you can click on the backup and see a feature called Snapshot which automatically create periodic restore points of your app when hosted in a Premium App Service plan. You can even download a zip of the app.
Want more Azure Tips and Tricks?
If you’d like to learn more Azure Tips and Tricks, then follow me on twitter or stay tuned to this blog! I’d also love to hear your tips and tricks for working in Azure, just leave a comment below.