Thanks for your answers. So let's say I have a production cluster with six nodes, and my data is then evenly distributed across all six. How would I approach cloning that into a three node cluster?
I actually tried a background process which rsync'd a six node cluster into a new one - each node one-for-one.. And it didn't work. No nodes could join the cluster and Riak was crashing out periodically. I didn't really have time to investigate exactly why - I'm just trying out some process stuff. Any thoughts? On 12 September 2012 10:18, Matthew Tovbin <matt...@tovbin.com> wrote: > Matt, > > We copied all the data key by key, since we used incorrect > 'ring_creation_size' value. > ( > http://riak-users.197444.n3.nabble.com/Cluster-migration-due-to-incorrect-quot-ring-creation-size-quot-value-td4024509.html > ) > > So, you can use this copy tool - https://github.com/tovbinm/riak-tools, > which proved itself copying 200m+ items for us. > > -Matthew > > > > On Tue, Sep 11, 2012 at 5:09 PM, Kresten Krab Thorup <k...@trifork.com>wrote: > >> Simply copying the riak/data and riak/etc directories should do the >> trick. You can use tar, rsync or simply cp as you feel like, and you can do >> all that while Riak is running at full throttle. The beauty of log >> structured storage (Bitcask, LevelDB, HainoiDB) >> >> At least that's the idea. I seem to remember that there was an issue with >> LevelDB that made basho recommend that you stop a node before doing backup, >> I dunno if that was fixed. >> >> If its just for debugging/dev purposes you can just stop sending requests >> to riak while doing the backup and you should definitively be fine. >> >> Kresten, Trifork >> >> Den 12/09/2012 kl. 01.59 skrev "Matt Black" <matt.bl...@jbadigital.com>: >> >> > Hey again list, >> > >> > Can anyone recommend a process for either cloning a cluster, or backing >> up a whole cluster's data to restore elsewhere? This would be incredibly >> useful for creating a new environment to test upgrades and run application >> regression testing. >> > >> > In the dark old days, it would be a simple combination of mysqldump & >> mysql.. >> > >> > Cheers >> > Matt >> > _______________________________________________ >> > riak-users mailing list >> > riak-users@lists.basho.com >> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> >> _______________________________________________ >> riak-users mailing list >> riak-users@lists.basho.com >> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> > >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com