Also note that downloading the files manually will not maintain the folder structure in which they were uploaded. So essentially, you have to download each file manually and then use the mapping to rename them (or open the file, check the content and then rename them). To download the files, you have to manually click each url one by one. To get this mapping, you run the gcloud app versions describe command and it will list the file names and their encoded names. Google has a mapping of the encoded names to the original file names. The file names in the bucket are encoded so you can't figure out what each file is unless you open it (i.e.You can modify the rule so that the files are retained for longer or less time. Your files will stay in this bucket for a maximum of 15 days before they are deleted. When you deploy your app via gcloud app deploy, it copies your source code to a bucket.gcloud which is the SDK in use (it replaced appcfg) does not have the functionality to download your source code.Google has deprecated appcfg.py and so the previous responses appcfg.py download_app no longer works. Note that this only applies to GAE Standard Environment Things have changed since this question was asked so I'm adding an updated answer.
0 Comments
Leave a Reply. |