Papulatus
Papulatus

Reputation: 677

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?

Upvotes: 0

Views: 101

Answers (1)

Itamar Haber
Itamar Haber

Reputation: 49932

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.

Upvotes: 1

Related Questions