Azure表存储快照/备份功能 [英] Azure table store snapshot/backup capability

查看:70
本文介绍了Azure表存储快照/备份功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎无法找到任何有关制作Azure表存储快照的文档,也找不到关于备份的任何内容.

I don't seem to be able to find any documentation on taking snapshots of an Azure table store, and neither can I find anything on taking backups either.

我发现了几年前的一些帖子,有人说他们通过在Windows调度程序调用的VM上运行的AzCopy将表存储导出到另一个存储帐户,但这似乎很陈旧,这意味着要存储完整的副本.数据.

I've found a few posts from a few years ago with people saying they export their table stores to another storage account via AzCopy running on a VM called by Windows scheduler, but this seems awfully archaic and would mean storing complete copies of data.

Azure文档似乎唯一提到的是blob存储的快照,即使该表存储可能位于其下方,我也不认为该表存储很重要.

The only thing that the Azure documentation seems to mention is snapshots of blob storage and I don't think that table storage, even though it's likely to be blobs underneath, counts.

当然,有更好的方法来定期备份Azure表存储吗?

Surely there's a better way of taking regular backups of Azure table stores?

推荐答案

没有可用的表快照功能(与bem不同,具有快照).

There is no table snapshot feature available (unlike blobs, which do have snapshots).

您需要设计自己的表备份方式.不管是按分区读取+写入,全表读取+写还是其他某种技术(例如同时写入两个表).

You'd need to devise your own way of making a backup of a table. Whether that is a partition-by-partition read + write, full table read plus write, or maybe some other technique (such as writing to two tables simultaneously).

注意:如果您担心灾难恢复,您仍将获得表的只读辅助文件(如果启用了这种类型的存储).

Note: You still get the read-only secondary for tables (if you enable that type of storage), if you're concerned with DR.

哦-关于azCopy(或任何其他工具):是的,这些操作导致将数据存储在另一个位置.但是快照最终也可以这样做.的确,对于常规(非高级)存储Blob,快照最初不会占用太多空间(实际上是最小的),但是随着原始Blob的更改,快照的大小会增加以反映差异.每个其他快照也是如此.此外,使用高级存储(或托管磁盘,包括常规磁盘和高级磁盘),快照将占用与原始磁盘相同的空间.

Oh - regarding azCopy (or any other tool): Yes, those result in storing your data in another place. But snapshots could end up doing that too. While it's true that, with regular (non-premium) storage blobs, a snapshot doesn't initially take up much space (minimal, really), as the original blob changes, the snapshot grows in size to reflect the differences. And the same goes for each additional snapshot. Also, with premium storage (or managed disks, both regular and premium), snapshots take up the same amount of space as the original disk.

这篇关于Azure表存储快照/备份功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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