在Azure Scheduler于1月22日(在这里见更多)退休后,我无法将azure SQL数据库导出到bacpac。我得到以下错误:
Export bacpac: One or more unsupported elements were found in the schema used as part of a data package.
Error SQL71501: Error validating element [jobs_internal].[visible_targets_formatted]: SqlView: [jobs_internal].[visible_targets_formatted] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [jobs_internal].[database_credentials].[C], [jobs_internal].[database_credentials].[name] or [jobs_internal].[targets].[C].
Error SQL71501: Error validating element [jobs]: SqlSchema: [jobs] has an unresolved reference to object [##MS_JobAccount##].
Error SQL71501: Error validating element [jobs_internal]: SqlSchema: [jobs_internal] has an unresolved reference to object [##MS_JobAccount##].
我到底需要从数据库中删除什么来修复这个问题。
创建bacpac是的一部分(当选择备份数据库的选项时)
发布于 2022-05-17 17:56:54
我找到了解决办法。您必须删除[jobs]
和jobs_internal
模式中的所有对象。我是按以下顺序做的:
在此之后,我能够导出bacpac,并执行包含数据库的web应用程序备份。
https://stackoverflow.com/questions/72278071
复制相似问题