Skip to content

Instantly share code, notes, and snippets.

@adamenger
Created December 4, 2015 22:21
Show Gist options
  • Save adamenger/00b39bedbc5ae793bff7 to your computer and use it in GitHub Desktop.
Save adamenger/00b39bedbc5ae793bff7 to your computer and use it in GitHub Desktop.
# Migrate all keys from source to dest using 100 works with a batch of 10
./migr8 --source 1.2.3.4 --dest 2.3.4.5 --workers 100 -b 10 migrate
# Migrate keys with prefix apples from source to dest
./migr8 --source 1.2.3.4 --dest 2.3.4.5 --workers 100 -b 10 migrate
# Migrate keys with prefix apples from source to dest and clear the source as we go
./migr8 --source 1.2.3.4 --dest 2.3.4.5 --workers 100 -b 10 --prefix apples -c migrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment