SQL Azure 数据恢复可能吗?
我刚刚犯了一个愚蠢的错误。以为我已连接到本地开发数据库,我不小心对我的生产 SQL Azure 数据库运行了以下脚本:
DELETE myTable
GO
我的数据是否像我担心的那样永远消失了,或者 SQL Azure 是否有一些神奇的“回滚到 1 小时前”按钮?
我可以采取什么措施来恢复表的数据吗?
(顺便说一句,不,我没有数据库备份。SQL Azure 不支持备份。而且,是的,我意识到这可能回答了我自己的问题......我只是希望我错了。)
I just made a boneheaded mistake. Thinking I was connected to my local dev db, I accidentally ran the following script against my production SQL Azure database:
DELETE myTable
GO
Is my data gone for good as I fear, or does SQL Azure have some magic "Roll back to 1 hour ago" button?
Is there anything I can do to recover my table's data?
(BTW, no, I do not have a backup of the database. SQL Azure does not support backups. And, yes, I realize that probably answers my own question... I just hope I'm wrong.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
更新
Azure SQL 数据库自动为所有基本、标准和高级数据库创建备份。通过这些备份,您可以执行时间点还原并恢复已删除的数据库。这些备份也会异地复制到配对区域,因此在发生区域灾难时,您可以使用最新备份恢复数据库(V12 服务器为 1 小时 RPO)。
您可以在此处详细了解 Azure SQL 数据库的备份和还原功能:https: //msdn.microsoft.com/en-us/library/azure/jj650016.aspx。
还有一个关于 时间点的博客还原 以及 上的博客异地恢复以及有关业务连续性 Azure SQL 数据库中的产品。
Update
Azure SQL Database automatically creates backup for all Basic, Standard, and Premium databases. With these backups you can perform Point in Time Restore and recover deleted databases. These backups are also Geo-Replicated to the pair region, so in the event of a regional disaster you could recover your databases with your latest backups (1 hour RPO for V12 servers).
You can learn more about Azure SQL Database's backup and restore capabilities here: https://msdn.microsoft.com/en-us/library/azure/jj650016.aspx.
There is also a blog on Point in Time Restore and a blog on Geo-Restore and a document about the Business Continuity offerings in Azure SQL Database.
不幸的是,到目前为止,由于这是一个用户级错误 - 它不属于当代 SQL Azure 功能集的范围。
我建议您在 http://www.mygreatwindowsazureidea 上投票支持此功能。 com/forums/34685-sql-azure-feature-voting - 这是投票最高的“最想要”功能 - 它由微软团队。
哈特哈,
Unfortunately, as of now since it's a user level error - it is not covered by the contemporary SQL Azure feature set.
I suggest you to vote for this feature on http://www.mygreatwindowsazureidea.com/forums/34685-sql-azure-feature-voting - it's a top voted 'most wanted' feature - it is officially monitored by the MS team.
HTH,