Is it possible to copy all keys from one Redis instance to another remote instance using MIGRATE
? I've tried COPY
, REPLACE
and KEYS
without any luck. Each time I get a NOKEY
response. If I use any of the MIGRATE
commands with a single key it works.
Examples:
MIGRATE my.redis 6379 "*" 0 5000 REPLACE // NOKEY
MIGRATE my.redis 6379 "*" 0 5000 COPY // NOKEY
MIGRATE my.redis 6379 "" 0 5000 KEYS * // NOKEY
MIGRATE my.redis 6379 "" 0 5000 KEYS test // OK