Move a key to another database index.
Section: Keys and expiration
Move a key to another logical DB
bash
bash
MOVE user:1 2Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Keys and expiration