Brad Fitzpatrick > Brackup > Brackup::Target::Riak

Download:
Brackup-1.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  6
Open  6
View/Report Bugs
Source  

NAME ^

Brackup::Target::Riak - backup to a Riak key-value store

EXAMPLE ^

In your ~/.brackup.conf file:

  [TARGET:riak1]
  type = Riak
  riak_host_url = http://192.168.1.1:8098/
  riak_r = 1
  riak_bucket_prefix = brackup-test

CONFIG OPTIONS ^

All options may be omitted unless specified.

type

(Mandatory.) Must be "Riak".

riak_host_url

URL specifying your riak cluster endpoint. Default: http://127.0.0.1:8098/.

riak_r

riak read quorum - how many replicas need to agree when retrieving an object. Default: 2.

riak_w

riak write quorum - how many replicas to write to before returning success. Default: 2.

riak_dw

riak durable write quorum - how many replicas to write to durable storage before returning success. Default: 2.

riak_bucket_prefix

Prefix to use on riak buckets. Probably only worth changing if you want to store (and separate) multiple brackups in a riak cluster. Default: brackup.

SEE ALSO ^

Brackup::Target

Net::Riak -- required module to use Brackup::Target::Riak

AUTHOR ^

Gavin Carr <gavin@openfusion.com.au>.

Copyright (c) 2010 Gavin Carr.

This module is free software. You may use, modify, and/or redistribute this software under the same terms as perl itself.

syntax highlighting: