MIGRATE host port key|"" destination-db timeout [COPY] [REPLACE] [KEYS key [key ...]] https://redis.io/commands/migrate

So what if the destination redis instance requires a password?

Comment From: itamarhaber

Hello @qbig

The docs are outdated in that regard - please refer to https://github.com/antirez/redis-doc/issues/1127.

TL;DR:

MIGRATE host port key dbid timeout [COPY | REPLACE | AUTH password]

or

MIGRATE host port "" dbid timeout [COPY | REPLACE | AUTH password] KEYS key1 key2 ... keyN