Why are blobs being deleted in Azure Storage Container?

michal 191 Reputation points
2022-07-27T15:17:51.547+00:00

Hi all,

I'm facing an issue that I need a help with.

I have a Container created in Blob Storage account for several weeks know. Until now, I've just had some testing files/folders uploaded there. All seemed to be working fine until I just recently found out that the files/folders are being deleted little by little.... and I can't figure out WHY...

The storage will be used critical data that will be in COOL tier and moved to ARCHIVE after 30 days. This is the only Lifecycle policy configured there.

any idea what is going on here? Am I missing something? I could see the files marked as "deleted" because I have soft-delete enabled so there were deleted somehow for sure...

I just need to find out what is going on here before I start storing the critical data there :/

Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,539 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,199 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Sam Cogan 10,812 Reputation points Microsoft Employee Volunteer Moderator
    2022-07-27T16:33:48.31+00:00

    If you are archiving the data after 30 days, then they will be moved to the archive and removed from the account. You need to re-hydrate them from archive storage if you want them back.

    0 comments No comments

  2. michal 191 Reputation points
    2022-07-28T10:09:16.177+00:00

    @Sam Cogan ....thanks for your reply. You are right, but I should be able to see the blobs in Container marked as "Archive", right? ... However, I do not see them at all there. I've seen them as "DELETED" for several days (5 days soft-delete) and then they disappeared completely :/

    btw... I'm working with them via "Azure Portal"

    0 comments No comments

  3. SaiKishor-MSFT 17,336 Reputation points
    2022-07-29T23:15:34.007+00:00

    @michal I understand that you are seeing that your Blobs have been deleted

    It is possible to view operations within an Azure resource using Resource Logs. This is possible by Monitoring Azure Blob Storage which is a feature of Azure Monitor.

    You would first start with creating a Diagnostic Setting- https://learn.microsoft.com/en-us/azure/storage/blobs/monitor-blob-storage?tabs=azure-portal#creating-a-diagnostic-setting

    And then view logged activity by using a Log Analytics query or you can go the destination that you are forwarding the logs to as setup in the diagnostics setting and look for the respective API, example- "DeleteBlob" or "DeleteContainer" etc.,

    However, if you have not already setup a diagnostic setting already and are forwarding data to a specific destination, it may not be possible to retrieve this information right now.

    At this point, I would suggest that you reach out to Azure Support so they can investigate this thoroughly and provide you with more information. Thank you!
    Please let us know if you have any further questions and we will be glad to assist you further. Thank you!

    Remember:

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

    Want a reminder to come back and check responses? Here is how to subscribe to a notification.

    0 comments No comments

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.