Backing up Riak data when changing backends

I have Riak (1.0.2) installed on my VMWare workstation running Ubuntu Linux Natty. This is a single installation, not a cluster.

I changed my backend from BitCask to LevelDB to take advantage of additional indexes. However, now all my other data is unavailable (I am sure that it still exists, maybe not compatible with the new backend).

How do I back up Riak data and make it available between backends ?!

Thanks in advance.

+4
source share
1 answer

According to this email flow, the easiest solution is to add a new node using the leveldb backend, save the existing node executable, and query the key list, which will repair the read or the scheduled handoff, it is not clear which one. Once the data has been migrated, disconnect the old node.

The key point here is that Riak will not automatically convert data between backends for you, which in my opinion is good behavior.

In addition, you can use the multi-screen backend for different buckets, but secondary indexing does not work with it yet.

http://comments.gmane.org/gmane.comp.db.riak.user/5951

+5
source

Source: https://habr.com/ru/post/1392687/


All Articles