简体   繁体   中英

Is using 'restore' command to restore rdb file possible?

all
I see the doc in http://redis.io/commands/dump , that the result of dump command

Values are encoded in the same format used by RDB.

So, is that possible to recovery data from rdb file with restore command?

No - the RESTORE command is indeed DUMP 's complement but it only works on a single key. An RDB file, on the other hand, is potentially made up of multiple keys and is loaded only when the Redis server starts.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM