azure - Azure SQL 托管实例面临的挑战

标签 azure azure-sql-managed-instance

  1. 无法使用以下 SQL 命令或通过 Azure 门户创建数据库副本

    • 创建数据库 mydatabase_copy 作为 mydatabase 的副本;
  2. 无法在 Azure SQL Server 上创建数据库副本,没有向导

    • 我们知道有一种方法可以创建 bacpac 并恢复它,但这是一个完整的手动过程,并且需要太多时间
    • 我们需要一些自动化的方法来实现这一目标。

最佳答案

创建数据库...因为副本在 Managed Instance 中不可用,仅在 SQL Database 中。而是使用 Point-in-time restore

Use point-in-time restore (PITR) to create a database as a copy of another database from some time in the past. This article describes how to do a point-in-time restore of a database in Azure SQL Managed Instance.

Point-in-time restore is useful in recovery scenarios, such as incidents caused by errors, incorrectly loaded data, or deletion of crucial data. You can also use it simply for testing or auditing. Backup files are kept for 7 to 35 days, depending on your database settings.

您可以使用 PowerShell 实现自动化.

关于azure - Azure SQL 托管实例面临的挑战,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72211993/

相关文章:

javascript - 从客户端上传 azure 文件

azure - Azure 的 DiagnosticMonitorConfiguration 的生命周期是多长?

sql-server - SQL Azure 是否支持 CLR 程序集?

sql-server - 无法在 SSMS 中打开托管实例数据库的属性选项卡

Azure 托管实例和故障转移/灾难恢复选项

asp.net-mvc - NGEN 可以与 Azure 网站一起使用吗?

azure - Azure Devops Pipelines 中的循环和数组

azure - 使用 VPN 从本地资源访问 Azure 应用服务 RESTful 终结点

sql - 如何将 Power BI 连接到 Azure VNET 上的 Azure SQL 托管实例?

azure - 无法从 Azure Function App 连接到 SQL 托管实例(登录超时已过期)