Last active
July 13, 2016 09:43
-
-
Save pingles/9a4fa56135f8ffc10675e90d9ff84dd3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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