After copying Redis backup data from other machines Dump.rdb, stop the Redis service, then overwrite the new Dump.rdb with the old, then start the Redis service, and refer to the StackOverflow answer as follows:
There is nothing specific to do. Just Install the Redis server on the new machine, and edit the configuration file. You just need to change the following parameters to point to the location of the dump file that has just copied.# the file name where to dump the Dbdbfilename mydump.rdb# the working directory.## the DB would be is written inside this directory, wit h The filename specified# above using the ' dbfilename ' configuration directive.# # Also The Append only File would be creat Ed inside this directory.# # Note so must specify a directory here, not a file name.dir/data/mydirectory/finally, T He Redis server can be started in the normal.
Redis Restore Dump.rdb