Google App Engine database viewer/browser? - database

Does Google App Engine offer any kind of database browser/viewer tool which can show CURRENT data? 1-day late database view was offered, however, it's not enough.

appengine.google.com has its own datastore viewer. where you can login and view the complete datastore for all your applications. In the development server, appengine SDK emulates the same. You can access it like http://localhost:8080/_ah/admin

Datastore on the appengine is accessible at,
https://console.developers.google.com/datastore/entities/query?project=yourappid
(replace yourappid appropriately)
This will be the current data.

I think that datastore viewer in development server can be accessed through http://localhost:8888/_ah/admin instead.

If you're using GoogleAppEngineLauncher, you can see Admin Port and the Port. Go to the Admin Port to access the datastore.

Related

A tool to browse/extract data from the Google App Engine Datastore?

I'm looking for tool (data extract utility) to browse/extract data from the Google App Engine Datastore. I found one but it hasn't been released - GAEBrowser. Does anybody know of a similar tool? Thanks in advance!
I know one, of course, the datastore viewer in GAE admin console: https://appengine.google.com/datastore/explorer?&app_id={yourappid}
What's wrong with the official datastore viewer anyway?
You might also look into remote_api, which lets you write Python scripts that run on your own computer but access your app's Datastore: https://developers.google.com/appengine/articles/remote_api

GUI for Google AppEngine DataStore

Is there a GUI for Google AppEngine DataStore ?
I'm looking for something similar to phpMyAdmin.
Thanks a lot.
appengine.google.com has its own datastore viewer. where you can login and view the complete datastore for all your applications. In the development server, appengine SDK emulates the same. You can access it like http://localhost:8080/_ah/admin
Yes, in your app dashboard, on the left you see section Data. In that click on datastore viewer. Ofcourse this works if your app is hosted on app engine, for local server see, How to browse local Java App Engine datastore?

Is there any tool to backup/restore Google Datastore entities?

I've playing around with Google App Engine and Google Datastore for a while now and I am facing the need to take regular backups of my stuff up on the cloud.
Is there any sort of general purpose tool that allows you to download all your data from a specific instance of google-datastore and restore it to another one?
If so, please enlighten me, if not - someone should do it!
You can use the BulkLoader that is described in the Google Appengine Docs
There is an opensource application available that I developed called "GAE datastore backup utility." It allows you to backup and restore your GAE entities through a GUI. It keeps track of your applications and your application's entities. It's currently only for Windows and Python based GAE apps but it sounds like something you are looking for. I see that you are looking for a solution for Java based apps. I will look into supporting this language in the next release.
http://code.google.com/p/gae-datastore-backup-utility/
Follow this tutorial for Exporting and Importing Entities: https://cloud.google.com/datastore/docs/export-import-entities
Windows:
set BUCKET=YOUR_BUCKET_NAME[/NAMESPACE_PATH]
gcloud datastore export --namespaces="(default)" gs://%BUCKET%
gcloud datastore import gs://%BUCKET%/[PATH]/[FILE].overall_export_metadata
Linux:
BUCKET="YOUR_BUCKET_NAME[/NAMESPACE_PATH]"
gcloud datastore export --namespaces="(default)" gs://${BUCKET}
gcloud datastore import gs://${BUCKET}/[PATH]/[FILE].overall_export_metadata
You may have a look at the following site:
http://aralbalkan.com/1837
It is about the backup and restore of the datastore.
http://code.google.com/appengine/articles/gae_backup_and_restore.html
I describe bulkloader.py no-config dump/restore in What's the best way to back up data on Google App Engine?
After years, this came out as a feature of the Datastore Administration in the app-engine dashboard, still experimental but still good news!

Hosting/transferring a web site on Google App Engine

I have my website currently hosted on paid server, but i want to transfer it on GAE.
How can i do it? Can anyone please help me in this case.I'd appreciate your help.
Thanks:)
1) First you will have to adapt your website to the GAE framework (python with django or the new Java environment). You can test your work by downloading the SDK of GAE which offer a local server.
2) Then create an account on appengine.google.com and upload your application on something.appspot.com, test it.
3) If you have a domain name, create a google apps account on this domain, and finally bind this domain with your GAE website. Here is the Google doc.
If it is just a static website which does not need server side scripts or a database, then you might want to look into Google Sites instead of Appengine. You can find out more about Sites here: http://www.google.com/sites/help/intl/en/overview.html
If you do have some server side logic going on, you will need to convert it to either python or java and convert your relational database to Google's Data API which does not support the SQL your current database uses. You can read more about the APIs and what is supported with the Data API and tutorials at: http://code.google.com/appengine/
In response to sanorita's comment "Actually, it's generated html and not plain html. and google appengine is for static data... right?":
AppEngine can host static data, but that is far from its intent.
The purpose of AppEngine is to allow developers to easily deploy their dynamic applications on Google's infrastructure. In the end, assuming you have programmed your app in effective ways to handle scaling (basically just noting that writes to the database are expensive, and contention is the root of all evil) you can handle nearly any amount of traffic.

Is there a local Google App Engine data viewer?

I want to use google's online GAE data viewer offline...
Is there some bunch of python code to display all my local data and even schema?
Yes, go to http://localhost:8000/_ah/admin (supposing you're running your local instance with dev_appserver.py).
NOTE: when the app is being deployed locally, it logs to which port the admin page is being binded

Resources