C#Azure用于将SQL / Postgres DB附加到Azure DB

编程入门 行业动态 更新时间:2024-10-25 00:34:59
本文介绍了C#Azure用于将SQL / Postgres DB附加到Azure DB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

Hello,

在为以下活动编写C#Azure函数时需要一些帮助。 我将把文件放在Azure存储中并触发Azure功能。 功能1 - 将存储在 Azure存储中的SQL Server的.mdf或.bak文件附加到Azure SQL数据库。 Function 2 - Restore the从Azure存储到 Azure S的Postgres的.dump文件Postgres的QL或 Azure SQL数据库。

问候,

GB

解决方案

你好,

在为以下活动编写C#Azure函数时需要一些帮助。我将把文件放在Azure存储中并触发Azure函数。 功能1 - 将存储在 Azure存储中的SQL Server的.mdf或.bak文件附加到Azure SQL数据库。 功能2 - 将Postgres的.dump文件从Azure存储恢复到 Azure SQL for Postgres或 Azure SQL数据库。

问候,

GB

美好的一天 Gangadhar ,

好像你的问题与C#而不是SQL有关。请确认是否是这种情况,然后我们可以将问题移到正确的论坛

在此期间你应该知道 Azure SQL数据库不支持附加数据库文件或 从本地恢复备份文件。

您可以使用安装在虚拟机上的SQL Server

Hello,

Need some help on writing the C# Azure functions for the following activities. I will just place the files in the Azure Storage and will trigger the Azure functions. Function 1 - Attach the .mdf or .bak file of SQL Server stored in the Azure Storage to Azure SQL Database. Function 2 - Restore the .dump file of Postgres from Azure Storage to Azure SQL for Postgres ORAzure SQL database.

Regards,

GB

解决方案

Hello,

Need some help on writing the C# Azure functions for the following activities. I will just place the files in the Azure Storage and will trigger the Azure functions. Function 1 - Attach the .mdf or .bak file of SQL Server stored in the Azure Storage to Azure SQL Database. Function 2 - Restore the .dump file of Postgres from Azure Storage to Azure SQL for Postgres ORAzure SQL database.

Regards,

GB

Good day Gangadhar,

It seems like your question is related to the C# and not the SQL. Please confirm if this is the case, then we can move the question to the right forum

In the meantime you should know that Azure SQL Database does not support attached of database files or restoring backup files from on-prem.

You can use SQL Server which is installed on virtual machine

更多推荐

C#Azure用于将SQL / Postgres DB附加到Azure DB

本文发布于:2023-10-18 11:23:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1504092.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:SQL   Azure   DB   Postgres

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!