Cannot backup a KV Redis database stored on Vercel? #7066
Replies: 3 comments 1 reply
-
I'm also looking to back up a Vercel KV database, and I just saw this: https://academy.ilyakam.com/exporting-data-out-of-vercel-kv-510f27d98afe Curious if you've already looked into that one @tomatac ? When I try it out I can report back. |
Beta Was this translation helpful? Give feedback.
-
update: I was able to export using upstash-redis-dump like this: And then I was able to import to another kv store using redis-cli like this: |
Beta Was this translation helpful? Give feedback.
-
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
Beta Was this translation helpful? Give feedback.
-
Page to Investigate
https://vercel.com/docs/storage/vercel-kv/limits
Steps to Reproduce
Is there a way to backup a KV Redis database stored on Vercel?
I read that recommended way is to use redis-cli package but that does not work.
Ref: https://vercel.com/docs/storage/vercel-kv/limits
"Backup/Restore not supported – Use redis-cli instead"
SAVE command returns an error:
(error) ERR Command is not available: 'SAVE'. See https://vercel.com/docs/storage/vercel-kv/vercel-kv-error-codes for details
BGSAVE command returns an error:
(error) ERR Command is not available: 'BGSAVE'. See https://vercel.com/docs/storage/vercel-kv/vercel-kv-error-codes for details
Backup is critical for a database. Who would want to use a database that cannot be backed up?
Beta Was this translation helpful? Give feedback.
All reactions