restore

RESTORE

RESTORE key ttl serialized-value [REPLACE]

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

If ttl is 0 the key is created without any expire, otherwise the specified expire time (in milliseconds) is set.

RESTORE will return a "Target key name is busy" error when 登录查看完整内容