星空网 > 软件开发 > 数据库

将数据库备份到AZURE blob storage

1创建一个Storage Account

1)点击Browse->Storage accounts

将数据库备份到AZURE blob storage

 

2) 填写Storage account,请记住这个名字,之后创建credential需要用到。

3)点击Create。 一般等待一段时间就好了

将数据库备份到AZURE blob storage

 

 

2 创建container

1)All resources->Blobs

将数据库备份到AZURE blob storage

2)在Blob service页面,点击创建一个新的containers.

将数据库备份到AZURE blob storage

3)Container的url需要记住,在备份的时候需要指定

将数据库备份到AZURE blob storage

 

 

3 创建credential

1) All resource->Access Keys

将数据库备份到AZURE blob storage

2)复制两个key中的任意一个.

将数据库备份到AZURE blob storage

3) 在需要备份的sql数据库中执行下面的语句

create credential credential1 with identity='liweistoragetest'

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

其中的secret的值用上一步得到的key代替。

 

 

 

之后就可以进行备份了

例如

 

 

backup database db1 to url='https://liweistoragetest.blob.core.windows.net/liweistoragetestcontainer/db1.bak'

with credential ='credential1'

 

备份完成后,我们可以在blob看到相应的数据

 

将数据库备份到AZURE blob storage

 




原标题:将数据库备份到AZURE blob storage

关键词:数据库

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

统一语言:https://www.goluckyvip.com/tag/10342.html
快递泰国哪个便宜:https://www.goluckyvip.com/tag/103421.html
泰国有什么快递:https://www.goluckyvip.com/tag/103423.html
泰国海运物流公司:https://www.goluckyvip.com/tag/103425.html
发快递去泰国:https://www.goluckyvip.com/tag/103427.html
海运泰国专线物流:https://www.goluckyvip.com/tag/103428.html
天坛最佳攻略 天坛必玩景点:https://www.vstour.cn/a/408240.html
央视新址为什么会找回:https://www.vstour.cn/a/408241.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流