BLC Redis dump restore utility.
docker run --rm -ti balaclavalab/blc-redis-dump-restore:0.1.5 -f redis://localhost/1 -t redis://localhost/2
- Build with
./gradlew dockerBuildImage
- Open build image
docker run --entrypoint bash -ti <imageId>
- Use
/redis-dump-restore-<version>/bin/blc-redis-dump-restore
- Build with
./gradlew installDist
- Go to
./blc-redis-dump-restore/build/install/blc-redis-dump-restore/bin
- Use
./blc-redis-dump-restore
./blc-redis-dump-restore -f redis://localhost/1 -t redis://localhost/2
./blc-redis-dump-restore -f redis://localhost/1 -tc -t redis://:password@localhost:7000/0
./blc-redis-dump-restore -m user#* -f redis://localhost/1 -t redis://localhost/2
usage: blc-redis-dump-restore [-f <arg>] [-fc] [-l <arg>] [-m <arg>] [-t <arg>] [-tc]
BLC Redis dump restore utility
-f,--uriFrom <arg> Redis from (e.g. redis://localhost/1)
-fc,--fromCluster Use cluster connection for Redis from
-l,--scanLimit <arg> Scan Limit (default: 5000)
-m,--scanMatch <arg> Scan Match (default: *)
-t,--uriTo <arg> Redis to (e.g. redis-cluster://localhost/0)
-tc,--toCluster Use cluster connection for Redis to