What format does the datastore admin backup the entities in? [duplicate]
Asked Answered
G

1

9

Possible Duplicate:
options for restoring appengine datastore data?

I'd like to parse the files the datastore admin produces during the backup process.

I backup entities to the blobstore. I'd like to selectively extract some of the data from blobstore backup entities and need to be able to open the file and inspect the entities.

What format are these files stored in?

Gourley answered 2/5, 2012 at 21:37 Comment(0)
A
7

According to the datastore admin source code: backup file are stored in leveldb log format.

Aphasic answered 2/5, 2012 at 23:51 Comment(2)
Thanks. Also found that you can use RecordReadChannel and developers.google.com/appengine/docs/java/javadoc/com/google/… to go from the blob items to actual entities in Java.Gourley
That link is broken, here's the new one: code.google.com/p/googleappengine/source/browse/trunk/python/…Urushiol

© 2022 - 2024 — McMap. All rights reserved.