首页 > 解决方案 > Is it possible to restore deleted database if i have full umbraco application project?

问题描述

For a few hours I tried to solve this issue. About a year ago I had an umbraco application hosted in Microsoft Azure.

Today it turned out that I have to create the same application for some reason but unfortunately there is a big problem. My database, which was used by the application, has been removed and there is no possibility to restore it (so I was told by a Azure support consultant).

I have an application project and I would like to ask you if there is a possibility to restore the database by having an entire umbraco application project (maybe some files are stored somewhere to restore the database)?

标签: c#asp.netazureazure-sql-databaseumbraco

解决方案


没有数据库就无法恢复您的 Umbraco 站点。在这里,您将找到对 Umbraco 论坛上类似问题的参考。

如果您将数据库作为 bacpac 导出到存储帐户或将其导出到本地计算机,则可以通过首先使用新数据库导入(类似于“恢复”)bacpac 来恢复 Umbraco 站点名称,然后更新连接字符串:

<add name="umbracoDbDSN" connectionString="Server=tcp:myserver.database.windows.net,1433;Database=mysitesdb;User ID=me@myserver;Password=myPassword" providerName="System.Data.SqlClient" />

推荐阅读