I have just dumped a riak db (back-up). But the backup file is a binary file. Is there a lib that it deserialize it into a human readable file (JSON w/e) ?
I haven't found anything on google, neither on Stack Overflow.
I have just dumped a riak db (back-up). But the backup file is a binary file. Is there a lib that it deserialize it into a human readable file (JSON w/e) ?
I haven't found anything on google, neither on Stack Overflow.
As all the suggestions listed so far appear to be broken in one way or another (at least for me and [email protected]
), I ultimately resorted to homegrow a bash
shell script that leverages riak-kv
's HTTP API with no other prerequisites than curl
and jq
to accomplish an export of sorts.
It can be found in this gist here: https://gist.github.com/cueedee/0b26ec746c4ef578cd98e93c93d2b6e8 hoping that someone will find it useful.
Found a solution for my current problem:
Connect to the env and then run following command:
(source: https://github.com/basho-labs/riak-data-migrator)
EDIT Another way to export riak db https://www.npmjs.com/package/riak-bucket-exporter