December 2017
Intermediate to advanced
434 pages
10h 14m
English
Against the managed backup to Azure, backup to a URL is just regular backup. It's exactly the same as every other regular backup as described in Chapter 3, Backup and Recovery. The only exception is that we don't use DISK, but URL as a backup device. Also we need the credentials for the access to the Azure blob storage. Let's use a database called SimpleDemo, which we want to backup using Azure blobs as backup storage.
First, we need to create credentials with shared access policy for the container. The same procedure is described in the previous section. Then we are going to write the following statement:
backup database SimpleDemo to url = 'https://sqladminguidedb.blob.core.windows.net/bck/simpledemo.bak'with init
With backup ...
Read now
Unlock full access