英文:
Copy past point-of-time of azure DB to new DB?
问题
我意外删除了Azure SQL数据库中的几行数据。
问题是,我无法将数据库回滚到删除之前的状态,因为它正在使用,并且已经进行了大量其他更改。
是否有一种方法可以创建数据库的过去某个时间点的(临时)副本到另一个数据库,无论是本地还是在Azure中?
由于数据库的大小远远超过了4GB的限制,因此没有存储备份。
类似于 CREATE DATABASE TempRestore AS COPY OF MainDb IN POINT OF TIME
的方式?
英文:
I accidently deleted a few rows of data in an azure SQL database.
Problem is, I can't roll back the database back to before the delete, since it is used and tons of other changes had been made.
Is there a way to make a (temporary) copy of a past point in time of the DB to some other DB, local or in Azure?
There are no storage backups since the DB long exceeds the 4GB size limit for those.
Something like CREATE DATABASE TempRestore AS COPY OF MainDb IN POINT OF TIME
?
答案1
得分: 1
使用如下所示的数据库刀片上的“还原”选项来使用数据库的时间点备份还原数据库的副本,并使用新的数据库名称。
或者,您可以从您拥有的任何数据库的时间点备份创建一个新的数据库。在创建新数据库时,点击“附加设置”表,然后点击“备份”,然后从组合框中选择一个备份。
英文:
Use the Restore option on the database blade as shown below to restore a copy of the database with a new database name using a point-in-time backup of the database.
Alternatively, you can create a new database from a point-in-time backup of any database you have. While creating the new database, you make a click on Additional Settings table, then click on Backup then select a backup from the combo box.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论