[英]Azure SQL exports fail to backup in blob container
I have a database in Azure SQL database, single database.我在 Azure SQL 数据库中有一个数据库,单个数据库。 It is Northwind sample that I have created in Azure SQL database, by using scripts.
这是我使用脚本在 Azure SQL 数据库中创建的 Northwind 示例。 I am trying to export this database into blob storage in a storage account Gen 2. I have created a storage account in the same resource group where my Azure SQL database, single database resides.
我正在尝试将此数据库导出到存储帐户 Gen 2 中的 blob 存储中。我在我的 Azure SQL 数据库所在的同一资源组中创建了一个存储帐户,单个数据库。 Via the portal I export the database.
通过门户我导出数据库。 In firewall settings of my database, I have already checked "Allow Azure services and resources to access this server" as shown below:
在我的数据库的防火墙设置中,我已经勾选了“允许 Azure 服务和资源访问此服务器”,如下所示:
I have also added my IP address to have access.我还添加了我的 IP 地址以进行访问。
When I click on export I can see my storage account, and the container to save my backups (export database files) as shown below:当我单击导出时,我可以看到我的存储帐户,以及保存我的备份(导出数据库文件)的容器,如下所示:
However, when I click OK and my export request is submitted, after a few minutes, I can see in "Import/Export History" that my request status remians on "Running, Progress=1%" and later the status changes to "Failed".但是,当我单击“确定”并提交导出请求时,几分钟后,我可以在“导入/导出历史记录”中看到我的请求状态恢复为“正在运行,进度 = 1%”,然后状态更改为“失败” ”。
When I check my blob container in the storage account I can see the files are there all with 4B size as show below:当我在存储帐户中检查我的 blob 容器时,我可以看到文件都具有 4B 大小,如下所示:
What is the cause of this and how can I resolve it?这是什么原因,我该如何解决? Basically I want to export the database into a blob storage by following this link but it is failing to export.
基本上我想通过此链接将数据库导出到 blob 存储中,但无法导出。 Thank you in advance.
先感谢您。
You can use SQL Server Management Studio (SSMS) to export the database bacpac file in blob storage account.您可以使用 SQL Server Management Studio (SSMS) 导出 blob 存储帐户中的数据库 bacpac 文件。
Follow the below steps:请按照以下步骤操作:
Once finished, you can check the bacpac file in your storage account.完成后,您可以检查存储帐户中的 bacpac 文件。 See the image below for your reference.
请参阅下图以供参考。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.