开发者

Google App Engine access to code

Is it possible to access or download开发者_开发百科 my code that is running on Google App Engine? For instance, say my hard drive crashes and I have not saved my code on any kind of external repository. Is there any way to recover?


No, it is not possible. You compile your code on your machine and ship up the compiled code. If you have a source repository, always make sure that you have a backup.

GAE does not have a mechanism for you to download your binaries, so reverse engineering them is not possible except from your own copies.

Of course you could always host your project on GitHub or SourceForge


see also:

  • how to download google appengine (uploaded)application files

  • Can I restore my source code that has been uploaded into Google AppEngine?

  • How do I download the source code of a google app engine project?

  • Download source code of deployed GAE application

  • Get source of appengine published version


I can't find it now, but I remember reading a post where they were pretty specific about NOT being able to do that. The gist of it was that they were not a backup service and that you were responsible for backing up your own code.

There is a "datastore backup and restore" feature on the project roadmap though: http://code.google.com/appengine/docs/roadmap.html I've skimmed over a few posts where people talk about ways to backup the database now without that the official sanctioned feature implemented... of course your datastore isn't your code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜