Export/import datastore from/to Google App Engine

13,625

Solution 1

Check out the docs on uploading and downloading data.

Solution 2

Gobo-Tools is designed for such tasks

Solution 3

It seems that there is no separate doc for java version of this except that it is said to do with com.google.apphosting.utils.remoteapi.RemoteApiServlet in the doc Nick provided.

Tip: If you have a Java app, you can use the Python appcfg.py tool by installing the Java
version of the remote_api handler, which is included with the Java runtime environment. 
The handler servlet class is com.google.apphosting.utils.remoteapi.RemoteApiServlet.

Here is some relevant code example for java version of this API usage GAE/J datastore backup

Share:
13,625

Related videos on Youtube

fmsf
Author by

fmsf

CEO / CTO at https://temploescondido.pt/ Engineer at Palantir

Updated on April 26, 2022

Comments

  • fmsf
    fmsf about 2 years

    I want to export the datastore that I have running in App Engine into my local "standalone" version of the application. Anyone know how I can do that?

    I've been looking around in the App Engine dashboard but can't find it.

  • Win Myo Htet
    Win Myo Htet about 12 years
    Nick, what about java? I only see this option for python. on a side note, can you take a look at this question for me too please stackoverflow.com/questions/9778095/… ?
  • Nick Johnson
    Nick Johnson about 12 years
    @WinMyoHtet It's not really specific to Python - you can upload and download data to any instance.
  • Randy L
    Randy L about 7 years
    As of 2017 none of this stuff works anymore. Your best bet is to take a look at this question and the accepted answer: stackoverflow.com/questions/25530199/….