c# - 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)?
解决方案
没有数据库就无法恢复您的 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" />
推荐阅读
- azure - Azure 创建拒绝但更新允许
- sql - 如何从工作计划中减去非工作计划以在 SQL 中生成新表?
- python - 使用 Python 处理巨大的文本文件(或准 csv) - 从文本数据创建矩阵
- windows - .exe 在 64 位窗口中没有 .bss 部分就无法运行是真的吗?
- amazon-mws - 亚马逊 MWS API 在不使用 Feed 的情况下更新库存
- c# - elasticsearch nest 的搜索问题 - 路由错误。您请求的路径无效
- python - 我们可以使用 Python 的 request.post 上传带有进度条回调的文件吗?
- reactjs - TypeError:无法读取空反应挂钩的属性“数据”
- python-3.x - python 正则表达式或其他
- mysql - 将 Substring_Index 与第二个表中的数据一起使用