restore

gibraltar nurzeynep15 at gmail.com
Sun Apr 8 13:19:05 EDT 2012


Unfortunately I got the same error message. Any more ideas?

file permissions:
-rwxrwxrwx  1 riak     riak     12812804 Apr  8 06:14 geodata.bck

error message:
{"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 ()


On Apr 8, 2012, at 7:02 AM, Zheng Zhibin wrote:

> 
> Thanks and regards,
> ==========================
> 郑智斌(Witeman Zheng)
> 广州安浩软件科技有限公司
> 研发总监
> 公司电邮:witeman at iconventure.com
> 手机:+86 186 2020 2930
> QQ:19653403
> ==========================
> 
> 在 2012-4-8,下午2:40, gibraltar 写道:
> 
>> 
>> hi,
>> 
>> I am trying to transfer data from my local machine to a server using backup/restore operation. 
>> 
>> $ sudo riak-admin restore riak at 10.196.187.80 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 10.196.187.80' belongs.
>> {"init terminating in do_boot",{{badmatch,{error,{file_error,"/home/ec2-user/geodata.bck",eacces}}},
> 
> eaccess, it is possibly due to the access right of the geodata.bck, try to chmod 777 and try again?
> 
>> [{riak_kv_backup,restore,2},{erl_eval,do_apply,5},{init,start_it,1},{init,start_em,1}]}}
>> init terminating in do_boot ()
>> 
>> 
>> thanks,
>> gibraltar
>> _______________________________________________
>> riak-users mailing list
>> riak-users at lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20120408/2d41b0ae/attachment.html>


More information about the riak-users mailing list