hey guys
hey guys
I was wondering if there's a way, possibly through a support ticket, to get a dump of a KV namespace
I have tried exporting the data via a script, but since the API only allows reading 100 records at a time, and I have 1.96M keys, it's gonna take ages 😅
Is there a better way?
3 Replies
Not currently, no, the binding on a loop would be the way to do this. How big are your records on average and are they json data? We have exports and backups on our backlog but no ETA to share yet
Each record is around 390B of JSON data
Well, if looping is the way to go, that's okay.
Is KV usage billed based on reads too? If so, this might be one expensive export 😅
Yes, based on reads/writes/lists/deletes based on https://developers.cloudflare.com/kv/platform/pricing/