Skip to content

toyopilgrim/my_spanner_migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my_spanner_migration

This tool is to migrate Spanner data to another table having the same schema spanned over two different instances/databases in a GCP project.

Setup

Install dependencies.

pip install -r requirements.txt

Create your own .env file in the current directory.

SRC_INSTANCE_ID=original-instance
SRC_DATABASE=original-database
DST_INSTANCE_ID=another-instance
DST_DATABASE=your-own-database
TBL_NAME=SampleTable

Run

python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages