A local copy of your Redis data, every key included
dbplex is a Mac app that copies the keys of your Redis database, from Upstash, Aiven or any server you can reach, to a local Valkey server on your Mac, and gives you a local address for your app, your tests and your AI agent. Production is only read.
For Apple Silicon Macs. 7 days free with every feature. No card and no account.
- Runs on
- Valkey 9.1, a Redis-compatible server
- Download
- About 12 MB
- Needs
- A connection string, no Docker
- Production
- Only read, never written to
What comes with a Redis copy
Copied to your Mac
- Every keyOf database 0, or of the database the address names.
- ExpiriesKept, and they keep counting down on the copy.
Left behind, and why
- Clustersdbplex cannot copy a cluster yet.
- Types from modulesA type made by a Redis module or a newer Redis has no match in Valkey, so those keys are left out.
- One point in timeA live Redis keeps changing during a copy, so the copy is not one moment.
After each pull the Connect tab lists what was left out.
What you paste
One connection string.
rediss://default:password@host:6379Add /2 to the end to copy database 2 instead of 0.Read only. Nothing is ever written to production.
You can also start from a dump file, or from an empty database.
Then point your app at the copy
redis://127.0.0.1:15000/0The port is the first free one from 15000, so yours may differ. The Connect tab shows the exact values.
Where to find the Redis connection string
- UpstashUse the rediss:// address, not the REST URL. The token is the password and the user is default.
- AivenCopy the service URI. Its host ends in .aivencloud.com.
Why not a local redis-server?
A local server starts empty. Your bugs live in production's keys.
| A local redis-server | dbplex | |
|---|---|---|
| Data | Starts empty. You write a script to copy keys. | Every key, with its expiry, from one address. |
| Going back | Flush and copy again. | Save a state and restore it. |
| Trying two things at once | A second server, by hand. | Branch the copy. |
| Fresh data | Run the script again. | One Refresh button. |
What you can do with a Redis copy
- Browse keys and run commandsEvery key with its type and expiry, and any command, such as GET user:1.
- Save and restore statesSave before a risky change and go back to it.
- Branch the copyWork on a second copy, from now or from the last pull, and keep the first as it is.
- Back up productionDaily or weekly, read-only, to a folder you choose. Each backup opens as a new copy.
- Refresh from productionOne button replaces the copy with today's data.
- Read the logsThe server log of the copy, in the Logs tab.
There is no schema graph or Changes tab for Redis, since its keys have no schema. Masking is not available for Redis yet, so a pull copies every value as it is.
A Redis sandbox for your AI agent
Give Claude Code, Cursor, Codex or Windsurf a copy of production to test on, and let it break things. dbplex's built-in MCP server hands the agent your local Redis copy, never production: it never sees your production credentials, and every tool it gets acts on local copies only.
Add it from the app's Settings. Keys with an expiry keep counting down on the copy. Nothing else in it runs on its own.
- Run commands on real keysAny Redis command as redis-cli reads it, on the copy only.
- Save a state before it tries somethingAnd restore it when the attempt goes wrong.
- A branch for each agentEach agent clones the copy and works alone. A clone holds no credentials and can never reach production.
- Start over with today's dataIt can refresh the copy from production, and never sees the credentials.
- Read the logsThe newest lines of the server log.
Questions about Redis in dbplex
Can dbplex change my Redis production database?
No. It only reads production to make your copy, and it has no push, sync or way to write anything back. The credentials stay in your Mac's Keychain.
Does it work with Upstash?
Yes. Use the rediss:// address, not the REST URL. The token is the password and the user is default.
Why does the copy run Valkey?
Valkey is an open source server that speaks the Redis protocol, so your app and redis-cli talk to it as they would to Redis. dbplex downloads it for you, and its licence is BSD.
Can it copy a Redis cluster?
Not yet. It copies one database of a single server: database 0, unless the address names another.
Do expiring keys expire on the copy?
Yes. Expiries are kept and keep counting down, so a key that would expire in production expires on the copy too.
Can my AI agent use the Redis copy?
Yes. Add dbplex's MCP server to Claude Code, Cursor, Codex or Windsurf from the app's Settings. It can list keys, read values and run any command, and save, restore and branch the copy. Every tool acts on local copies only, and the agent never sees your production credentials.
Other databases dbplex copies
Break prod. Locally.
Try it on your own Redis database for 7 days. No card and no account.