becquerel / redis-copy

very simple script that copies content of one redis server to another

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

redis-copy

very simple script that copies content of one redis server to another, using predis library

Usage

  • clone repository
  • install PRedis library (run composer install)
  • tweak parameters in the redis-copy.php file (it is set to ignore specific keys)
  • run php redis-copy.php tcp://source.redis:6379 tcp://destination.redis:6379

About

very simple script that copies content of one redis server to another


Languages

Language:PHP 100.0%