备份 Azure Blob 存储内容的最佳方法是什么 [英] What is the best way to backup Azure Blob Storage contents

查看:33
本文介绍了备份 Azure Blob 存储内容的最佳方法是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道 Azure 存储实体(blob、表和队列)具有内置弹性,这意味着它们被复制到同一数据中心的 3 个不同服务器.最重要的是,它们还可以完全复制到物理上位于不同地理区域的不同数据中心.在这种情况下,出于所有实际目的,丢失数据的可能性几乎为零.

I know that the Azure Storage entities (blobs, tables and queues) have a built-in resiliency, meaning that they are replicated to 3 different servers in the same datacenter. On top of that they may also be replicated to a different datacenter altogether that is physically located in a different geographical region. The chance of losing your data in this case is close to zero for all practical purposes.

但是,如果一个粗心的开发人员(或受酒精影响的开发人员:))不小心通过 Azure 门户或 Azure 存储资源管理器工具删除了存储帐户,会发生什么情况?最糟糕的是,如果黑客控制了您的帐户并清除了存储空间怎么办?有没有办法检索已删除的 blob 的千兆字节,或者是这样吗?不知何故,我认为必须有一个优雅的解决方案,Azure 基础设施在这里提供,但我找不到任何文档.

However, what happens if a sloppy developer (or the one under the influence of alcohol :)) accidentally deletes the storage account through the Azure Portal or the Azure Storage Explorer tool? Worst yet, what if a hacker gets hold of your account and clears the storage? Is there a way to retrieve the gigabytes of deleted blobs or is that it? Somehow I think there has to be an elegant solution that Azure infrastructure provides here but I cannot find any documentation.

我能想到的唯一解决方案是编写我自己的流程(工作者角色),定期将我的整个存储备份到不同的订阅/帐户,从而使存储和交易的成本基本上翻倍.有什么想法吗?

The only solution I can think of is to write my own process (worker role) that periodically backs up my entire storage to a different subscription/account, thus essentially doubling the cost of storage and transactions. Any thoughts?

问候,

阿奇尔

推荐答案

根据您要备份数据的位置,有两个选项可用:

Depending on where you want to backup your data, there are two options available:

  1. 在本地备份数据 - 如果您希望在基础架构中本地备份数据,您可以:一种.使用存储客户端库或使用 REST API 编写您自己的应用程序或湾使用 3rd 方工具,例如 Cerebrata Azure 管理 Cmdlets(披露:我为 Cerebrata 工作).

  1. Backing up data locally - If you wish to backup your data locally in your infrastructure, you could: a. Write your own application using either Storage Client Library or consuming REST API or b. Use 3rd party tools like Cerebrata Azure Management Cmdlets (Disclosure: I work for Cerebrata).

在云中备份数据 - 最近,Windows Azure 存储团队宣布了异步复制 Blob 功能,该功能实质上允许您将数据从一个存储帐户复制到另一个存储帐户,而无需在本地下载数据.这里的问题是您的目标存储帐户应该在 2012 年 6 月 7 日之后创建.您可以在 Windows Azure 博客上阅读有关此功能的更多信息:http://blogs.msdn.com/b/windowsazurestorage/archive/2012/06/12/introducing-asynchronous-cross-account-copy-blob.aspx.

Backing up data in the cloud - Recently, Windows Azure Storage team announced Asynchronous Copy Blob functionality which will essentially allow you to copy data from one storage account to another storage account without downloading the data locally. The catch here is that your target storage account should be created after 7th June 2012. You can read more about this functionality on Windows Azure Blog: http://blogs.msdn.com/b/windowsazurestorage/archive/2012/06/12/introducing-asynchronous-cross-account-copy-blob.aspx.

希望这会有所帮助.

这篇关于备份 Azure Blob 存储内容的最佳方法是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆