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

Germain Maurice germain.maurice at
Mon May 10 06:51:57 EDT 2010

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 riak /reiser/riak-backup 
Backing up (node 'riak at') to '/reiser/riak-backup-riak at'.
{"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'],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 riak /reiser/riak-backup all
Backing up (all nodes) to '/reiser/riak-backup'.
...from ['riak at','riak at']
{"init terminating in 
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 ?


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

More information about the riak-users mailing list