Invalid bucket name in Google cloud storage when backing up Google App Engine data

I have several python apps running on Google App Engine and using datastore as storage.

I mean https://cloud.google.com/appengine/docs/adminconsole/datastoreadmin#backing_up_data

When you select cloud storage, you are prompted to enter the bucket name where the backups should be saved in the / my _bucket_name format. You can optionally specify the bucket name placed in the structure directory (eg / bucket_name / backups / backup1): if these folders do not already exist, they will be created. Note. In older versions of the Engine application, users had to use the / gs / bucket_name format. While the / gs / prefix will continue to work, it is no longer required.

Hence I am trying to provide /my_bucket_name

as the name of the Google Cloud Storage bucket.

enter image description here

However, when I click Fallback Objects I get the error

Unsupported filesystem: my_bucket_name

      

enter image description here


I'll try another name /gs/bucket_name

enter image description here

I get

Bucket "bucket_name" not accessible

      

enter image description here

I was wondering how can I provide a valid google cloud storage bucket name to back up my datastore?

+3


source to share


2 answers


I had the same problem which I solved this way:

I will add this entry to my slave permissions: MyAPPiD@appspot.gserviceaccount.com writable.



I've already entered my bucket name without the "/", even if it's not what the documentation says. In your example, it will just write my_bucket_name .

The copy was successfully completed.

+3


source


Before attempting to back up, you must create a bucket in the project. To create a bucket, go to the Storage menu and select the Browser option.



0


source







All Articles