Back to Pikiwidb

README

tools/redis-copy/README.MD

4.0.2568 B
Original Source

README

Install

请先确保本机安装了hiredis

CentOS
sudo yum install hiredis-devel

修改 Makefile:

设置HIREDIS_INCLUDEhiredis头文件所在位置

设置HIREDIS_LIBhiredis静态库所在位置

USAGE:

DESCRIPTION:

  • Redis monitor copy tool: monitor redis server indicated by src_host, src_port, src_auth and send to des server Parameters: -s: source server -d: destination server -v: show more information -h: help Example:
  • ./redis-copy -s [email protected]:6379 -d [email protected]:6379 -v