将Azure从Azure SQL DB移动到Azure IaaS VM上的SQL Server [英] Move BD from Azure SQL DB to SQL Server on Azure IaaS VM

查看:60
本文介绍了将Azure从Azure SQL DB移动到Azure IaaS VM上的SQL Server的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

b

我是开发人员而且我对备份和恢复知之甚少

Hi,

I'm a developer and I don't know much about backups and restore et all

我在Azure SQL数据库中有一个数据库需要移动到Azure IaaS VM上的SQL Server。

I have a DB in Azure SQL Database that needs to be moved to SQL Server on an Azure IaaS VM.

数据库很小,大约4GB数据,但管理员抱怨它需要几个小时(+ 3H)才能将DB从一侧移动到另一侧。

The DB is small, about 4GB data, but the administrator complains it takes hours (+3H) to move the DB from one side to other.

实现这一目标的最佳方法是什么? BACPAC?其他?

What is the best way to achieve this? BACPAC? Other?

注意:在迁移数据库并更新connectionStrings之前,我们可以考虑停止应用程序验证的选项。

Note: We can consider the option of stopping the application complety until the DB is migrated and connectionStrings are updated.

非常感谢你,

JD

推荐答案

你好,



另一种选择是使用

SQL Data Sync
将数据从SQL Azure复制到SQL VM,迁移可能需要更少或更多,但一旦数据库完全同步,您可以切换连接字符串,停止复制减少SQL Azure。

Another option is to use SQL Data Sync to replicate the data from SQL Azure to the SQL VM, the migration may take less or more but once the database is fully in sync you can switch connection string, stop replication and cut down SQL Azure.



确保SQL VM上有一个空模式。这将加快初始同步。



希望这会有所帮助。



问候,

Alberto Morillo

SQLCoffee.com

Alberto Morillo
SQLCoffee.com


这篇关于将Azure从Azure SQL DB移动到Azure IaaS VM上的SQL Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆