开发者

Is there a way to backup everything in an app-engine blobstore?

bulkloader.py is very handy.

But as far as I can tell it doesn't appear to fetch items from the blo开发者_如何学Cbstore, so you can be left with broken entity relationships if you needed to dump/restore your application.

Does anyone know a method for completely backing up their data from app-engine including blobstore data?


In Java, you would instantiate a BlobInfoFactory and use BlobInfoFactory.queryBlobInfos.

Then for each blob, you would run BlobstoreService.serve(...) with the BlobKeys returned from the BlobInfos. You still might end up with broken entity relationships - there's no way to guarantee each blob will end up with the same key it was originally loaded with. You'll have to account for this in your application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜