如何将本地 SQL 数据库备份文件导入 Azure SQL 服务器数据库?
How to import a local SQL database back-up file to an Azure SQL server database?
我有一个 运行 在本地 SQLExpress 服务器上的项目。我已将数据库导出到 .bacpac 文件。
我正在尝试将该数据库还原到 Azure SQL 服务器。所以我想做的是使用这个备份文件在 Azure 上创建一个数据库。
我该怎么做?
将数据库迁移到 Azure SQL 数据库的最简单方法是使用 Data Migration Assistant (DMA). This tool performs an assessment first to verify the database does not use incompatible statements with Azure SQL Database, and it also migrate the schema and/or the data, as you wish. Download it from here。
我通过连接到我的 Azure SQL 服务器并执行导入 data-tier 应用程序
通过 SSMS 导入它
我有一个 运行 在本地 SQLExpress 服务器上的项目。我已将数据库导出到 .bacpac 文件。
我正在尝试将该数据库还原到 Azure SQL 服务器。所以我想做的是使用这个备份文件在 Azure 上创建一个数据库。
我该怎么做?
将数据库迁移到 Azure SQL 数据库的最简单方法是使用 Data Migration Assistant (DMA). This tool performs an assessment first to verify the database does not use incompatible statements with Azure SQL Database, and it also migrate the schema and/or the data, as you wish. Download it from here。
我通过连接到我的 Azure SQL 服务器并执行导入 data-tier 应用程序
通过 SSMS 导入它