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

Piotr Bakun 1 Reputation point

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.

I am utilizing Event Grid through Azure Storage Event and use selected to trigger it only on Microsoft.Storage.BlobCreated.

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