RESTORE

    Create a key associated with a value that is obtained by deserializing the provided serialized value (obtained via ).

    If the ABSTTL modifier was used, ttl should represent an absolute (in milliseconds) in which the key will expire.

    !RESTORE checks the data checksum. If it does not match an error is returned.

    1. 0
    2. dragonfly> RESTORE mykey 0 "\x0e\x01\x11\x11\x00\x00\x00\x0e\x00\x00\x00\x03\x00\x00\xf2\x02\xf3\x02\xf4\xff\t\x00\xfa\x81\x98P\x85\xf8\xd9\xed"
    3. OK
    4. list
    5. dragonfly> LRANGE mykey 0 -1
    6. 1) "1"
    7. 3) "3"