But the "somewhere" has to be writable by "riak" user, that's the "problem. :)

Le 10/05/10 14:16, Sean Cribbs a écrit :
NFS would be one of many ways to export the backup off of the node.  You can 
also specify a filename on the command line when running `riak-admin backup` if 
you want to put it somewhere other than data/.

Sean Cribbs<s...@basho.com>
Developer Advocate
Basho Technologies, Inc.
http://basho.com/

On May 10, 2010, at 6:51 AM, Germain Maurice wrote:

Hi everybody,

I have a two nodes cluster and i'm trying to backup it before making some tests.
The backup process does not want to start, here is the error i'm getting :

r...@couch1:~# riak-admin backup r...@10.0.0.40 riak /reiser/riak-backup node
Backing up (node 'r...@10.0.0.40') to '/reiser/riak-backup-r...@10.0.0.40'.
{"init terminating in 
do_boot",{{badmatch,{error,{file_error,[47,114,101,105,115,101,114,47,114,105,97,107,45,98,97,99,107,117,112,45|'r...@10.0.0.40'],eacces}}},[{riak_kv_backup,backup,3},{erl_eval,do_apply,5},{init,start_it,1},{init,start_em,1}]}}
init terminating in do_boot ()

r...@couch1:~# riak-admin backup r...@10.0.0.40 riak /reiser/riak-backup all
Backing up (all nodes) to '/reiser/riak-backup'.
...from ['r...@10.0.0.40','r...@10.0.0.41']
{"init terminating in 
do_boot",{{badmatch,{error,{file_error,"/reiser/riak-backup",eacces}}},[{riak_kv_backup,backup,3},{erl_eval,do_apply,5},{init,start_it,1},{init,start_em,1}]}}
init terminating in do_boot ()

My consoles on a each don't throw any errors.

Just before sending this email, i found the solution :
->  the system user of riak process has to have permission of creating the 
backup file, /reiser/riak/backup-file in my case.
/reiser/riak contains /reiser/riak/ring /reiser/riak/innostore ...

If i want to export this backup outside of the node, i expect i have to use NFS 
mount point.
Do you agree with it ?

Thanks
--

Germain Maurice
Administrateur Système/Réseau
Tel : +33.(0)1.42.43.54.33

http://www.linkfluence.net


_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


--
Germain Maurice
Administrateur Système/Réseau
Tel : +33.(0)1.42.43.54.33

http://www.linkfluence.net


_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to