I am not sure if this questions belongs here or in server fault, apologies if it belongs there. I am using MS SQL 2012 on an azure VM, and am planning on utilizing the SQLbackup2Azure
tool to store the backup files directly in blob storage. Does anyone know if deleting the stub files locally on the server will also trigger the azure storage service to delete the storage blobs? My hunch is that it will not and that I should utilize a powershell script (like this one) to remove them after a time.
1 Answer 1
I have experimented with the tool and confirmed that deleting the stub files does not delete the Azure blob. I had to set up a PowerShell script to cleanup the file blobs.
Backup to URL
instead of an external utility.