问题描述
我正在使用plone.app.blob将大型ZODB对象存储在blobstorage目录中.这减轻了对Data.fs的大小压力,但是我无法找到有关备份此数据的任何建议.
I am using plone.app.blob to store large ZODB objects in a blobstorage directory. This reduces size pressure on Data.fs but I have not been able to find any advice on backing up this data.
我已经通过将网络备份工具指向repozo备份目录来备份Data.fs.我是否应该仅将该工具指向blobstorage目录以备份我的Blob?
I am already backing up Data.fs by pointing a network backup tool at a directory of repozo backups. Should I simply point that tool at the blobstorage directory to backup my blobs?
如果在复制过程中正在重新打包数据库或正在添加和删除blob,该怎么办? blobstorage目录中是否有必须按特定顺序复制的文件?
What if the database is being repacked or blobs are being added and deleted while the copy is taking place? Are there files in the blobstorage directory that must be copied over in a certain order?
推荐答案
备份"blobstorage"即可.无需特殊订单或其他任何操作,这非常简单.
Backing up "blobstorage" will do it. No need for a special order or anything else, it's very simple.
Plone中的所有操作都是完全事务性的,因此在事务中间进行备份应该可以正常工作.这就是为什么您可以进行ZODB的实时备份的原因.不知道您使用的是哪种文件系统,我想它应该可以按预期工作.
All operations in Plone are fully transactional, so hitting the backup in the middle of a transaction should work just fine. This is why you can do live backups of the ZODB. Without knowing what file system you're on, I'd guess that it should work as intended.
这篇关于备份ZODB Blob的正确方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!