gibraltar clgibraltar at
Sun Apr 8 02:40:51 EDT 2012


I am trying to transfer data from my local machine to a server using backup/restore operation. 

$ sudo riak-admin restore riak at riak /home/ec2-user/geodata.bck

Above command generates following error message. Seems like permission error, however I execute the command with sudo. I did chown to 'riak' but made no difference. Any idea why?

Attempting to restart script through sudo -u riak
Restoring from '/home/ec2-user/geodata.bck' to cluster to which 'riak at' belongs.
{"init terminating in do_boot",{{badmatch,{error,{file_error,"/home/ec2-user/geodata.bck",eacces}}},[{riak_kv_backup,restore,2},{erl_eval,do_apply,5},{init,start_it,1},{init,start_em,1}]}}
init terminating in do_boot ()

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list