Skip to content

Instantly share code, notes, and snippets.

View Dmitry-Klymenko's full-sized avatar

Dmitry Klymenko Dmitry-Klymenko

  • Cashrewards
  • Wollongong
View GitHub Profile
@Dmitry-Klymenko
Dmitry-Klymenko / bigquery-copy-between-regions.sh
Last active June 18, 2019 00:36 — forked from dutchiechris/bigquery-copy-between-regions.sh
Google Cloud Platform Big Query script to copy data from one region to another
#!/bin/sh
#
# Google Cloud Platform Big Query script to copy data from one region to another
#
# Disclaimer: This is not an officially supported Google product.
# Written code can be used as a baseline but is not meant for production usage.
#
# Based on https://gist.github.com/dutchiechris/1da2f8786107a635e7e6f5a8c50e84dc with a few improvements (main one: support for large BQ files which cannot be exported to a single JSON file).
#
# Window 10 has a Bash shell feature. Once enabled and installed it allows to run shell command on Windows platform. It is a completely different environment through.