使用RESTORE FILELISTONLY从Azure Blob存储中恢复数据库失败

时间:2017-04-26 08:46:52

标签: azure

我正在尝试使用以下T-SQL命令从SSMS恢复Azure Blob存储中的SQL 2016数据库备份文件:

RESTORE FILELISTONLY FROM URL ='https://.blob.core.windows.net//.bak' GO

它可以正常使用我的Azure订阅。但是当我使用CSP帐户时,我收到以下错误:

无法打开备份设备'https://.blob.core.windows.net//.bak'。操作系统错误86(指定的网络密码不正确。)。

非常感谢任何有关解决此问题的帮助。

1 个答案:

答案 0 :(得分:-1)

I'm afraid executing 'filelistonly' is not implemented to work with azure-blobs. If retrieving the filelist information is essential you'll have to download the blob. Minor advantage is then that you already have it local, so you don't have to download it for the restore.

Not sure if this is an omission in the working with sql-backup to azure or by design.