Backup SQL Managed instance while stopped

Mark Pearson 40 Reputation points
2025-05-23T10:33:35.36+00:00

I am currently looking into Azure SQL Managed Instances, but I'm stumped on the following issue with backups:

While the instance is in a stopped state, it's not possible to take backups. For example, let's say that you have long-term backups configured, with yearly backups in place. If you stop the instance during the defined yearly backup period, the backup is skipped. We recommend that you keep the instance up and running during the yearly backup period.

The issue I have, is that I can only specify the retention policies, not anything specific with backup timings. Also I cannot find anywhere that shows me the specific time that the backups are due to run.

So, how do I ensure that the Instance is not in a stopped state at the time of the backups, If I cannot specify or view the time these backups are due to run?

Azure SQL Database
{count} votes

Accepted answer
  1. PratikLad 1,825 Reputation points Microsoft External Staff Moderator
    2025-05-26T17:08:06+00:00

    Hi Mark Pearson,

    how do I ensure that the Instance is not in a stopped state at the time of the backups, If I cannot specify or view the time these backups are due to run?

    As per documnet Automatic full backups are initiated once a week based on a schedule determined by Microsoft

    While you can’t view the exact schedule, you can monitor whether an LTR backup has been created:

    • Use Azure CLI, PowerShell, or the Azure Portal to query the existing LTR backups:
    
    az sql midb ltr-backup list --location [--database] [--database-state] [--latest] [--managed-instance] [--resource-group]
    
    

    This lets you verify whether a yearly/monthly/weekly backup has been created, so you know you’re in good shape before stopping the instance.

    As per your situation currently Safest workaround is as you suggested to take your own backups manually and store them in Azure Storage. This means you’re in full control you decide exactly when backups happen, and you keep track of them yourself.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.