Skip to content

Instantly share code, notes, and snippets.

@pingles
Last active July 13, 2016 09:43
Show Gist options
  • Save pingles/9a4fa56135f8ffc10675e90d9ff84dd3 to your computer and use it in GitHub Desktop.
Save pingles/9a4fa56135f8ffc10675e90d9ff84dd3 to your computer and use it in GitHub Desktop.
export GCLOUD_PROJECT="source-project-id"
export GOOGLE_APPLICATION_CREDENTIALS="./service-account-key.json"
java -cp big-replicate-standalone.jar \
uswitch.big_replicate.sync \
--source-project source-project-id \
--source-dataset 98909919 \
--destination-project destination-project-id \
--destination-dataset 98909919 \
--table-filter "ga_sessions_\d+" \
--google-cloud-bucket gs://staging-data-bucket \
--number 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment