[英]Azure SQL Export via https://portal.azure.com Never Completes
Have tried exporting our sql database several times, several different copies (regional replication), and we always get a zero byte file in our storage blob account.已经尝试多次导出我们的 sql 数据库,几个不同的副本(区域复制),我们总是在我们的存储 blob 帐户中得到一个零字节文件。 No statuses, no error messages.
没有状态,没有错误消息。
Any hints?任何提示?
Edit: None of the below answers solved my issue.编辑:以下答案均未解决我的问题。 The issue was there was an invalid view in the database, which was causing the export to silently fail.
问题是数据库中存在无效视图,这导致导出静默失败。
Perform the "Export Data-tier Application" task from SQL Server Management Studio instead.改为从 SQL Server Management Studio 执行“导出数据层应用程序”任务。 This will provide you with detailed progress about the export.
这将为您提供有关导出的详细进度。
Step by step instructions:分步说明:
get a zero byte file in our storage blob account.
在我们的存储 blob 帐户中获取一个零字节文件。 No statuses, no error messages.
没有状态,没有错误消息。
This is an expected behavior, this 0 byte file is used to check whether it has permissions to your storage account container.这是一个预期的行为,这个 0 字节的文件用于检查它是否对您的存储帐户容器具有权限。 The service will not write out the full BACPAC until the export is complete.
在导出完成之前,该服务不会写出完整的 BACPAC。 it will not save template data to our storage, and we need not to pay for the template data.
它不会将模板数据保存到我们的存储中,我们不需要为模板数据付费。 For this reason, you will see the size of the file is always 0 byte.
因此,您将看到文件的大小始终为 0 字节。 At currently we have no process bar to show whether the export operation is completed in portal, so please check the resource utilization like following chart.
目前Portal中没有进程栏显示导出操作是否完成,请查看资源利用率如下图。 if the line back to the normal level then check your file again.
如果线路恢复到正常水平,则再次检查您的文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.