ForestDB file naming is weird. The actual name of the database is "db.forest", 
so I think that's what you'd give to the tool. ForestDB appends extensions like 
.0, .meta when it goes to the file system.

—Jens

On Feb 11, 2016, at 8:03 AM, Alex Chevrier 
<[email protected]<mailto:[email protected]>> wrote:

Hi,

I wanted to open my Forestdb file using the dump_tool available on the git 
repository of the Forestdb team,
I extracted the Forestdb file from my Nexus 5 phone using adb backup and I had 
two files named "db.forest.0" and
"db.forest.meta". I tried to open the first one with the dump_tool and it gave 
me the error : 'Unable to open db.forest.0'.
I was wondering if I was getting the correct Forestdb file but I guessed it was 
the right one since in the TestData directory
of the couchbase-lite-iOS git repository it does appear as the same type of 
file.

Did I miss a step, is there any convertion to be done between db.forest.0 to a 
certain type of file to be then read by the dump_tool ?
If yes, I wasn't able to find any tool capable of doing that.

Is it possible that my file got corrupted somehow ? I'll join the code from my 
mainActivity in this discussion and a directory
containing Forestdb files.

Thanks a lot,

Regards,

Alex Chevrier





--
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/893cb008-9ce5-4912-af4f-32ee25e7d4a2%40googlegroups.com<https://groups.google.com/d/msgid/mobile-couchbase/893cb008-9ce5-4912-af4f-32ee25e7d4a2%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
<mainActivity.java>
<couchbaseevents.cblite2.rar>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/E13E7F3E-CFBE-4AD4-9737-95CA3A1A2CC5%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to