How to transfer Google Cloud Storage One account data to Google Cloud another account?


                                                         Image Source: infiflex.com

Step 1:

Go to the account where storage bucket are resides.
Select the Select the Bucket, you want to transfer data and Click on SHOW INFO PANEL on the Top Right.


Step 2:

Under PERMISSIONS click on Add members. Now type the email id of the another account where
you want to transfer all of your files in New Members Box. Select Role Storage > Storage Admin.

Step 3:

Now, Go to second account, Go to your storage bucket and select and repeat the last steps
but this time email id will be the 1st account email id. All Set.

Step 4:

Finally Go to First account open the Google Cloud Shell and run the following command -

gsutil -m cp -r gs://SOURCE-BUCKET-NAME/* gs://DESTINATION-BUCKET-NAME/




Popular posts from this blog

How to reset MySQL root password in Ubuntu in latest Ubuntu versions 18.04 and above

Ubuntu default Firewall UFW (Uncomplicated Firewall) Command-Line

How to deploy Java Springboot application in Ubuntu 16.04/18.04