How to create a bucket in gsutil to load sql dump file in cloudql.?

I am using Windows 7 64-bit OS. I am trying to upload sql dump file to Cloud SQL. It requires the gsutil tool to create a bucket and load it. but how to create a bucket using gsutil ?. Thanks in advance.

+3


source to share


2 answers


More information on GSTIL can be found here: https://developers.google.com/storage/docs/gsutil

gsutil mb gs: // - INSERT BUCKET NAME HERE -

Note:



The mb command creates a new bucket. Google Cloud Storage has one namespace, so you won't be allowed to create a bucket with a name that is already in use by another user. You can, however, strip out portions of the bucket namespace that correspond to your company's domain name (see "Gsutil help naming").

This means that the bucket must have a unique name for all buckets made by Google.

+3


source


You can also use the Storage Browser in the Google Developer Console . Assuming you are using App Engine, a default bucket should have been automatically generated for your app: https://developers.google.com/appengine/docs/php/googlestorage/setup



0


source







All Articles