Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Export BigQuery table to Google Cloud Storage in a separate account

Hi, 

I am wondering if it is possible to export a BigQuery table under account A to a Google Cloud Storage bucket within another account (account B). From all of the research I've already done it seems like it would be possible given the correct permissions are granted in both accounts but I haven't found a truly definitive answer. I'm planning to use the BigQuery API to automate this process. 

Solved Solved
3 3 7,520
1 ACCEPTED SOLUTION

Hello @mmcgrath1028,

Welcome to Google Cloud Community!

You can export your BigQuery table to a Google Cloud Storage bucket then import the data to a BigQuery dataset in your other account.

You can do the following steps:

  1. Export Table Data to Cloud Storage. You can export the table data to a target bucket in the same location as your dataset.
  2. Grant the required GCS and BigQuery permissions to the account that will load the data by using the IAM console
  3. Load your data into the destination BigQuery account.

If the above option doesn't work, you can contact Google Cloud Support to further look into your case. Let me know if it helped, thanks!

View solution in original post