Restore Azure SQL Database LTR back-up via the Portal after deleting the original Azure SQL Server

一世执手 提交于 2019-12-11 01:04:35

问题


I can't find a straight answer to this question so hoping someone here came across this.

As the LTR backups are tied to the subscription there should be a way to restore a backup even if the original SQL Server that hosted the database is deleted.

How can these be viewed and restored via the Portal after the SQL Server is deleted?

Or via other means.


回答1:


Currently there isn't a built-in method to restore the entire server. When a server is deleted (soft deleted) then you should call Azure support as soon as possible before a purge process that runs periodically fully removes the logical server. There are no SLAs for server deletions. So the quicker you can get to Azure CSS, the better it is.

If the server is deleted, there is no way to restore from automated built-in backups offered by Azure. Quoting from the page:

If you delete an Azure SQL Database server instance, all its databases are also deleted and cannot be recovered. There is currently no support for restoring a deleted server.

So everything is AS-IS. When a user deletes a logical server, you were asking the server to be deleted which is why you typed in the server name, etc. etc. CSS can work with engineering to figure out what is possible at best but there are no service-level guarantees unless Disaster Recovery (Geo-replication, Synchronization, long-term backups, etc.) was part of the deployment strategy.

I witnessed a case where a developer that works for a company in Costa Rica deleted their production Azure SQL logical server on a Thursday and Azure Support was able to recover on the next Monday. Usually Azure CSS gives a time frame of 7 days to recover an Azure SQL logical server that was accidentally deleted.

To avoid this in the future you can use “resource locks” which can protect against accidental deletion using Azure portal.




回答2:


If you delete your Azure sql server, then you could not backup it from the LTR backup.

Alberto Morillo has show you the document:

If you delete an Azure SQL Database server instance, all its databases are also deleted and cannot be recovered. There is currently no support for restoring a deleted server.

I also asked Azure support to get more message about your question. The replied me:

" Azure support can help you recover you Azure SQL server in 7 days after the deletion. You need to provide your server name and region for Azure Support."

You can call Azure Support from portal:

Hope this helps.



来源:https://stackoverflow.com/questions/57187620/restore-azure-sql-database-ltr-back-up-via-the-portal-after-deleting-the-origina

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!