1

I am trying to migrate an redis hyperloglog key from one server to azure redis service using the MIGRATE command, but as far as i know MIGRATE doesn't support moving key to a redis server which requires authentication.

How can i migrate hyperlolog key then?

Kobynet
  • 983
  • 11
  • 23

1 Answers1

2

You can code it on any client, an HyperLogLog is just a string. You can probably GET the string on the source server and SET on the destination.

x = Server1.StringGet(key);
Server2.StringSet(key, x);

redis-cli example

thepirat000
  • 12,362
  • 4
  • 46
  • 72