Copy/Import datafrom deployed app to my local

81 views
Skip to first unread message

ARUNRAJ RAJENDRAN

unread,
Oct 13, 2015, 5:48:56 AM10/13/15
to Google App Engine
All,
     I am working in google app engine. Now, my requirement is I want to copy all the datastore tables from deployed application(xxx.appspot.com) to my local environment(local_db.bin).
How to do that?

ARUNRAJ RAJENDRAN

unread,
Oct 13, 2015, 5:49:56 AM10/13/15
to Google App Engine
And, my application is based on Java.

Patrice (Cloud Platform Support)

unread,
Oct 13, 2015, 11:49:22 AM10/13/15
to Google App Engine
Hi,

There is no way to do this natively. The backup/restore functionality only works for applications in production.

In your case, I would suggest a simple handler that can be called and from there, create a simple csv of your datastore, saving it in Google Cloud Storage. You can then retrieve it and read it in your devserver (you will need custom code to read it). 

You can also make a Freature Request on the issue tracker to have such a feature.

Cheers!

ARUNRAJ RAJENDRAN

unread,
Oct 14, 2015, 1:22:36 AM10/14/15
to google-a...@googlegroups.com
Patrice,
           Thanks for the reply. Are there any definite documentation to create csv file and read? 
Thanks.

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/2iHBwdAR7n0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/156d6efd-5a9b-4b4d-aded-d773b70a0c72%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Patrice (Cloud Platform Support)

unread,
Oct 14, 2015, 10:21:06 AM10/14/15
to Google App Engine
Hi again,

There are none, unfortunately. It's relatively straightforward to do both, but there's no official docs indicating how to do this. 

Cheers


On Wednesday, October 14, 2015 at 1:22:36 AM UTC-4, ARUNRAJ RAJENDRAN wrote:
Patrice,
           Thanks for the reply. Are there any definite documentation to create csv file and read? 
Thanks.
On Tue, Oct 13, 2015 at 9:19 PM, Patrice (Cloud Platform Support) <pvout...@google.com> wrote:
Hi,

There is no way to do this natively. The backup/restore functionality only works for applications in production.

In your case, I would suggest a simple handler that can be called and from there, create a simple csv of your datastore, saving it in Google Cloud Storage. You can then retrieve it and read it in your devserver (you will need custom code to read it). 

You can also make a Freature Request on the issue tracker to have such a feature.

Cheers!

On Tuesday, October 13, 2015 at 5:49:56 AM UTC-4, ARUNRAJ RAJENDRAN wrote:
And, my application is based on Java.

On Tuesday, October 13, 2015 at 3:18:56 PM UTC+5:30, ARUNRAJ RAJENDRAN wrote:
All,
     I am working in google app engine. Now, my requirement is I want to copy all the datastore tables from deployed application(xxx.appspot.com) to my local environment(local_db.bin).
How to do that?

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/2iHBwdAR7n0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.

ARUNRAJ RAJENDRAN

unread,
Dec 20, 2015, 3:14:47 PM12/20/15
to google-a...@googlegroups.com
Greetings,
               Sorry to bother you again. I am using indexing concept in my application. Last two days I am facing the memory issue while indexing my data. I am getting the following error

              java.lang.OutOfMemoryError: Java heap space.

Is there a way to increase the heap space of the deployed application?
Thanks.

On Tue, Oct 13, 2015 at 9:19 PM, Patrice (Cloud Platform Support) <pvout...@google.com> wrote:

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/2iHBwdAR7n0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages