Prevent Automatic Bad Backups by Metric

LCorwood 1 Reputation point
2020-11-06T19:16:32.203+00:00

I have an application with continuous integration being the goal. Right now, in the initial setup of the Backups, we have it running on routine automatically. Every night at some unspecified time. We keep a limited number of days of backups for this larger app service. While hopefully nothing egregious goes unnoticed for too long, I was hoping to see some sort of metric that would allow me to perform a health check before automatically running a backup.

I've searched through documentation that talks all about setting up a schedule, setting up storage locations and even powershell cmdlets. But I was hoping this would be a metric I could tie into App Insights or even a custom monitoring rule somehow. Does any gateway like this exist?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,960 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 16,191 Reputation points
    2020-11-11T04:11:29.35+00:00

    Hi @LCorwood ,

    Apologies for the delay in response. Can you elaborate more on what you mean by "metric"? what specific metric do you want to measure before automatic backup kicks in?

    You could try using the Health Check feature in App Service. This feature allows you to specify a path on your application for App Service to ping. If an instance fails to respond to the ping, the system determines it is unhealthy and removes it from the load balancer rotation. This increases your application’s average availability and resiliency.

    To enable Health Check for your applications, in your web app click Health Check under Monitoring in the left-side navigation menu. Please read this blog post for more info.

    38839-health-check.png
    Let us know if you have further questions.

    Thanks,
    Grace

    0 comments No comments