简体   繁体   English

通过 https://portal.azure.com 导出 Azure SQL 永远不会完成

[英]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:分步说明:

  1. Open SQL Server Management Studio (2016 or above)打开 SQL Server Management Studio(2016 或更高版本)
  2. Connect to the Azure SQL Server连接到 Azure SQL Server
  3. Right click on the required database, choose "Tasks" and "Export Data-tier Application"右键单击所需的数据库,选择“任务”和“导出数据层应用程序”
  4. Follow the wizard跟随向导

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.

相关问题 从 portal.azure.com 阻止用户 - Block user from portal.azure.com 如何在 Azure Application Insights 中使用 BeginScope(在 https://portal.azure.com 中)? - How to use BeginScope in Azure Application Insights (in https://portal.azure.com)? portal.azure.com 中的 Azure 应用服务运行时堆栈可用性 - Azure App Service Runtime Stack Availability in portal.azure.com 我可以在https://portal.azure.com仪表板上的markdown小部件中添加较大的Font文本吗? - Can I add larger Font text to the markdown widget on https://portal.azure.com dashboard? manage.windowsazure.com与portal.azure.com - manage.windowsazure.com vs. portal.azure.com 如何通过portal.azure.com将用户添加到我的AAD租户? - How Do I Add a User to My AAD Tenant via portal.azure.com? 如何在 portal.azure.com 中按类型默认概览仪表板 - How to default overview dashboard as group by type in portal.azure.com 如何在 portal.azure.com 上使用 SQL 获取 100 多个查询结果 Cosmos DB 数据资源管理器 - How to get more than 100 query results with SQL on portal.azure.com Cosmos DB Data Explorer portal.azure.com WebApp面板,无信息/标签 - portal.azure.com WebApp Panel without info/tabs 无法在portal.azure.com中删除存储帐户 - Failed to delete storage account in portal.azure.com
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM