Block Blob instead of Page Blob #120
Replies: 12 comments 2 replies
-
I am not sure that I understand this. Is there an issue with the DatabaseBackup stored procedure, when backing up to Azure Blob Storage? |
Beta Was this translation helpful? Give feedback.
-
I see the backups uploaded as page blobs and I want them uploaded as block blobs. That’s as straight forward as I can explain it. |
Beta Was this translation helpful? Give feedback.
-
How are you executing DatabaseBackup? Could you post the command with all parameters. |
Beta Was this translation helpful? Give feedback.
-
Yes let me get that for you, just a moment please |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Thank you. Which version of SQL Server are you running on? |
Beta Was this translation helpful? Give feedback.
-
Microsoft SQL Server 2016 (SP2) (KB4052908) - 13.0.5026.0 (X64) Mar 18 2018 09:11:49 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows Server 2016 Datacenter 10.0 (Build 14393: ) (Hypervisor) |
Beta Was this translation helpful? Give feedback.
-
You need to create a Shared Access Signature (and create a credential for that), in order to back up to block blobs You should not use the https://blogs.msdn.microsoft.com/sqlcat/2017/03/10/backing-up-a-vldb-to-azure-blob-storage/ |
Beta Was this translation helpful? Give feedback.
-
Thank you, I will update you on our progress. |
Beta Was this translation helpful? Give feedback.
-
Here is a link that will help you with this. The powershell script is very helpful. Read the comments and supply values for the parameters. At the end the powershell script prints the create credential t-sql script to execute in your sql server. After that, as Ola said you can run the backups without the @credential parameter. |
Beta Was this translation helpful? Give feedback.
-
Microsoft has also improved the documentation here: "Backup to block blob vs. page blob" |
Beta Was this translation helpful? Give feedback.
-
We are leveraging the database backup solution and trying to convert our backups in Azure to the 'Archive' access tier. However, it appears we cannot do that as the backups were uploaded as a 'Page Blob' type, when they should be 'Block Blob'.
Where would this be fixed?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions