Skip to content

Instantly share code, notes, and snippets.

View jchandler1985's full-sized avatar

JChandler jchandler1985

View GitHub Profile
@scheffler
scheffler / ola-sql-backup-to-url.md
Last active January 4, 2025 01:06
How to backup a SQL database to an Azure URL using Ola Hallengren's stored procedures

Description

How to backup a SQL database to an AZURE storage account using the Ola Hallengren scripts.

Requires the stored procedures from: https://ola.hallengren.com/sql-server-backup.html

Create an azure storage account

First, create an azure storage account with block blob support (v2 will suffice) and then create a blob container within that. For this example we'll call it sqlbackup.