how to copy database to server another ?
I'm doing copy database to server another with bulk records. Below code, It working but very slow

I used try copy on GUI of Redis. It run very fast. Have way speed up ?
I would presume a combination of batching, concurrency, and pipelining. These, however, are not trivial to explain! You can probably make a passable first stab simply by using Parallel.ForEach on the result of Keys(...), though.
I'm not sure which GUI is in play here, but I'd guess they're using the MIGRATE API probably? (this assumes server A can see server B) It has bulk modes added in later versions - not something I've used much but we do support it and I've had fun fixing the tests up around it :) Details: https://redis.io/commands/migrate
Closing this out as answered above - migrate is what you want for max speed here, regardless of the client :)