无法复制 Azure 数据库



我们已经成功地在Octopus Deploy步骤中使用New-AzureRmSqlDatabaseCopy将我们的生产数据库复制到临时数据库中。 它最近停止工作,出现以下模糊错误:

New-AzureRmSqlDatabaseCopy : 40687: The operation cannot be performed on the database 'databaseMcDatabase' in its current state.
At C:OctopusWork20170623140313-4142Script.ps1:9 char:1
+ New-AzureRmSqlDatabaseCopy -CopyDatabaseName $DatabaseName -DatabaseName Source ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [New-AzureRmSqlDatabaseCopy], CloudException
    + FullyQualifiedErrorId : Hyak.Common.CloudException,Microsoft.Azure.Commands.Sql.Replication.Cmdlet.NewAzureSqlDatabaseCopy

问题最终导致 Azure 弹性池中的空间不足。 我发现我可以毫无问题地复制一个较小的数据库,当我从命令中删除 -ElasticPoolName 选项时,我也能够复制 60GB db。

最新更新