12708

Exporting data from local standard environment and importing it in Datastore Emulator

Question:

We have two app engine apps, which read/save to the same datastore (that is, same project). Datastore is actually the way they "transfer data" to each other.

One of the apps is running on standard environment, and the other is running in the flexible environment.

In the flexible environment, to run local tests in my machine, without using google datastore servers, I have to use the Datastore Emulator, which it's configured already.

What I would like now is to find a simple way to export data saved in the standard environment app (created using dev_appserver.py) and import it in the datastore emulator.

I would NOT like to push the data google servers and export from there, if that could be avoidable, instead exporting from the database that ran in my local machine.

Is there a feature/library which might help me with this task?

Answer1:

In my tests, I found that the database files created by AppEngine Dev and Datastore Emulator are compatible. I was able to copy the local_db.bin from app-engine database to replace the same file in Datastore Emulator's data directory and was able to access the data.

Recommend

  • Should i use nhibernate for a fairly small project?
  • Relationship between orders, customers and products?
  • SQL Azure SPLIT AT Backend Process and Resource Throttling
  • limited threads in soapUI free version
  • Deploying pre-encrypted configuration files to a production environment
  • Instanciate service on startup in Angular2
  • get passwords from chrome
  • Send emails through VB6 if no email client
  • JSR-330 support in Picocontainer : @Inject … @Named(\"xxx)
  • Rest Services conventions
  • Git describe fails to return most recent annotated tag
  • Graphics.CopyFromScreen [Web application] + The handle is invalid
  • Not able to aggregate on nested fields in elasticsearch
  • Unable to install Git-core+svn by MacPorts
  • How to use JavaScript to determine whether a file exists in a directory?
  • ADO and msqli connections very slow
  • Django simple Captcha “No module named fields” error
  • How do I exclude a dependency in provided scope when running in Maven test scope?
  • PHP buffered output depending on server setting?
  • Could not find rake using whenever rails
  • How to use an array of arrays with array_map(…) in PHP?
  • Asynchronous UI Testing in Xcode With Swift
  • Seeking advice on Jetty HttpClient Hang
  • javaw.exe and eclipse startup problems
  • angularjs unit test when to use $rootScope.$new()
  • Google cloud sdk not working when python points python3
  • Function pointer “assignment from incompatible pointer type” only when using vararg ellipsis
  • SVN: Merging two branches together
  • Hibernate gives error error as “Access to DialectResolutionInfo cannot be null when 'hibernate.
  • using HTMLImports.whenReady not working in chrome
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • How can I remove ASP.NET Designer.cs files?
  • python draw pie shapes with colour filled
  • Are Kotlin's Float, Int etc optimised to built-in types in the JVM? [duplicate]
  • Is there any way to bind data to data.frame by some index?
  • costura.fody for a dll that references another dll
  • Observable and ngFor in Angular 2
  • How can i traverse a binary tree from right to left in java?
  • Android Heatmap on canvas or ImageView