EventGrid event triggers before Azure SQL backup is loaded into Blob Storage

Piotr Bakun 1 Reputation point
2022-08-22T14:44:21.927+00:00

I have a requirement to backup relevant Azure resources to SFTP. I'm backing up everything to Azure Blob Storage and use Event Grid to get notifications that backups are already in storage, then I'm sending it to SFTP. Everything works excellent except Azure SQL backup. I start getting events, about database bacpac in Blob Storage when backup is triggered in Azure, but database is not yet in storage. Is there a way to get that event only when Azure SQL backup is finished and file is truly in Blob Storage?

Thanks for help.

Edit:
I am utilizing Event Grid through Azure Storage Event and use selected to trigger it only on Microsoft.Storage.BlobCreated.
233923-image.png

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,639 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
354 questions
{count} votes