Backing up a database to an azure blob storage

Source: Internet
Author: User

1 Creating a Storage account

1) Click Browse->storage Accounts

2) Fill in the storage account, please remember this name, then create credential need to use.

3) Click Create. Usually wait a little while.

2 Creating container

1) All Resources->blobs

2) on the BLOB service page, click Create a new containers.

3) container URLs need to remember that you need to specify when backing up

3 Creating credential

1) All resource->access Keys

2) Copy any of the two keys.

3) Execute the following statement in the SQL database that you want to back up

Create credential credential1 with identity=' liweistoragetest '

,secret=' ******** '

The value of the secret is replaced with the key obtained in the previous step.

Then you can back it up.

For example

Backup database db1 to URL=' https://liweistoragetest.blob.core.windows.net/ Liweistoragetestcontainer/db1.bak '

with Credential =' Credential1 '

After the backup is complete, we can see the corresponding data in the BLOB

Backing up a database to an azure blob storage

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.