Backuping a node or a cluster does not want to start, finally resolved.

Sean Cribbs sean at basho.com
Tue May 11 10:44:09 EDT 2010


Yes, which could be in /tmp, after which you could copy from /tmp to the NFS mount.

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

On May 11, 2010, at 10:38 AM, Germain Maurice wrote:

> 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<sean at 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 :
>>> 
>>> root at couch1:~# riak-admin backup riak at 10.0.0.40 riak /reiser/riak-backup node
>>> Backing up (node 'riak at 10.0.0.40') to '/reiser/riak-backup-riak at 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|'riak at 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 ()
>>> 
>>> root at couch1:~# riak-admin backup riak at 10.0.0.40 riak /reiser/riak-backup all
>>> Backing up (all nodes) to '/reiser/riak-backup'.
>>> ...from ['riak at 10.0.0.40','riak at 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 at 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 at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com





More information about the riak-users mailing list