Transferring clusters to a different ring size is difficult with backing up files based on a node (which means that if you simply back up the data directories on each node, as recommended in Riak Backup ). Because, as you suspected, the backend data files depend on matching nodes and partitions with a given ring size.
What should you do instead?
You must use βlogicalβ backups of the entire cluster using one of these two tools:
Using one of them basically brings the contents of the entire cluster into one place (so be careful not to leave the disk space, obviously). Then you can transfer and restore a new cluster with a different ring size.
Beware:
Back up inanimate clusters. Meaning: either reset the cluster, or at least make sure that new records do not occur with the old cluster during backup. Otherwise, if you start the backup, but the new records are still arriving, there is no guarantee that they will fall into the backup data set.
Before performing backup / restore, be sure to transfer the app.config and user bucket options to the new cluster.
Hope this helps. Thus, this is not trivial (this means that it will take some time and require a lot of disk space, but it is true when you transfer large amounts of data), but it is also not too difficult.
source share