在Azure SQL中还原和备份命令的替代方法是什么? [英] What's the alternative to restore and backup commands in Azure SQL?

查看:87
本文介绍了在Azure SQL中还原和备份命令的替代方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的SQL Server中,我有一个存储过程,每次创建新交易时,都会使用restore,backup和alter database命令复制现有数据库。

In my SQL Server, I have a stored procedure which makes a copy of an existing database by using restore, backup and alter database commands every time a new deal is created.

但是这些命令在Azure SQL中不可用。当我将我的应用程序迁移到Azure时,可以使用哪种替代方法在Azure SQL Server中执行此操作?

But these commands are unavailable in Azure SQL. As I am migrating my application to Azure, what alternative could be used to do this in Azure SQL Server?

推荐答案

您好,

您是否能够提供您用于此的命令,以便让我更好地了解该过程的具体操作? 您是否备份数据库并在每次交易后将其还原到单独的数据库? 这似乎过多但也许我误解了?

Are you able to give the commands that you use for this to give me a better idea to what the process is doing exactly?  Do you backup the DB and restore it to a separate DB after every deal?  That seems excessive but maybe I've misunderstood?

谢谢,

马特


这篇关于在Azure SQL中还原和备份命令的替代方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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