Storage Account Lifecycle Management Configuration

Vinaya Rao 66 Reputation points
2023-07-31T19:03:45.49+00:00

Hello,

I did create the following config for LifeCycle Management. Wondering why there are still backup files going back to 2 or days even though I did set to delete after 1 day. Here is the code view:

{

  "rules": [

    {

      "enabled": true,

      "name": "DeleteOldBackupFiles",

      "type": "Lifecycle",

      "definition": {

        "actions": {

          "baseBlob": {

            "delete": {

              "daysAfterModificationGreaterThan": 1

            }

          }

        },

        "filters": {

          "blobTypes": [

            "blockBlob"

          ]

        }

      }

    }

  ]

}

Here is the List View of Lifecycle Management under the storage account:

[

](https://filestore.community.support.microsoft.com/api/images/74c7abaf-ba50-4764-85e6-4a0a90d5c2fc?upload=true)

Will appreciate your input on this as I am configuring Lifecycle Management for the first time.

Thanks.

Victor

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,201 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 38,021 Reputation points Microsoft Employee Moderator
    2023-08-02T21:30:59.93+00:00

    @deherman-MSFT
    Hi Victor. Is this an Azure SQL Database or is it a VM running SQL Server? What is the current backup method that is being used? Can you link the article you mentioned? Thanks!


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.