简体   繁体   English

本地 SQL 备份到 Azure 恢复服务

[英]On-premises SQL backup to Azure recovery service

We would like to backup our on-premises SQL server to Azure Recovery Service Vault.我们想将我们的本地 SQL 服务器备份到 Azure 恢复服务保管库。 We tried to use the Azure Backup Server but there is a domain dependency.我们尝试使用 Azure 备份服务器,但存在域依赖性。

Is there a way to use Azure Backup Server or System Center 2016 without having your servers in a specific domain ?有没有一种方法可以使用 Azure 备份服务器或 System Center 2016,而无需将服务器放在特定域中? The SQL server has the default WORKGROUP domain. SQL 服务器具有默认的 WORKGROUP 域。

What would be the best alternative solution to backup a SQL on-premises server to Azure Recovery Service without adding the server to a domain ?将 SQL 本地服务器备份到 Azure 恢复服务而不将服务器添加到域的最佳替代解决方案是什么?

We decided to use the build-in SQL BACKUP command to URL.我们决定使用内置的 SQL BACKUP 命令到 URL。 This URL is in our case the Azure Storage account.在我们的示例中,此 URL 是 Azure 存储帐户。

See documentation: https://msdn.microsoft.com/en-us/library/jj919148%28v=sql.110%29.aspx?f=255&MSPPError=-2147217396请参阅文档: https : //msdn.microsoft.com/en-us/library/jj919148%28v=sql.110%29.aspx?f=255&MSPPError=-2147217396

The backup file is a blob type.备份文件是 blob 类型。 But there is a restriction you can not use a "Blob purpose" Azure storage account because this gives you a 400 Bad Request.但是有一个限制,你不能使用“Blob 目的”Azure 存储帐户,因为这会给你一个 400 Bad Request。 It is possible to backup your SQL database in a "General Purpose" Azure storage account.可以在“通用”Azure 存储帐户中备份 SQL 数据库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM