Help with local restore for dev enviroment

2013-07-09 Thread Mark Wagner
Hey all, I'm new to riak and I'm working on an ETL script that needs to pull data from a riak cluster. My client has sent me a backup from one of their cluster nodes. bitcask data,. rings and config. Here is what I am doing: on OSX # Install riak on my local OSX development box brew install r

Re: Help with local restore for dev enviroment

2013-07-10 Thread Shane McEwan
On 09/07/13 22:24, Mark Wagner wrote: Hey all, I'm new to riak and I'm working on an ETL script that needs to pull data from a riak cluster. My client has sent me a backup from one of their cluster nodes. bitcask data,. rings and config. *snip* At this point I believe I should be able to star

Re: Help with local restore for dev enviroment

2013-07-10 Thread Justin Sheehy
Hi, Mark. You've already received a little advice generally so I won't pile on that part, but one thing stood out to me: > My client has sent me a backup from one of their cluster nodes. bitcask > data,. rings and config. Unless I'm misunderstanding what you're doing, what you're working on wi

Re: Help with local restore for dev enviroment

2013-07-10 Thread Mark Wagner
Thanks for the info!!! I appreciate the help and I am glad to know that it should just work! I don't really need the data from the whole cluster while developing the script. I just need to get my queries working etc... One issue I am facing is I don't know the structure of the data. So I am tr

Re: Help with local restore for dev enviroment

2013-07-11 Thread Mark Phillips
Hi Mark, If you need to get the structure the data, your best bet is to pull the content type. You'll need to list-keys [1] on that bucket and then parse the header for each key with a HEAD request, paying special attention to the content-type for the key [2]. Keep in mind we don't recommend using