Skip to content

How to retrieve json data from .couch file? #5425

Answered by janl
thenewatomist asked this question in Q&A
Discussion options

You must be logged in to vote

My company has some tooling to help salvage data from corrupted files, but it’s not free and there is no guarantee we can get anything out, depending on the nature and severity of the corruption, but do get in touch if this is of interest to you: https://neighbourhood.ie/couchdb-support/

But it sounds like you might be able to get away with putting the file into the database dir like so: database_dir/shards/00000000-ffffffff/foo.123345.couch and create a corresponding shard map in your _dbs db. See https://docs.couchdb.org/en/stable/cluster/sharding.html for more details of what that needs to look like.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by janl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants