Thanks and regards, ========================== 郑智斌(Witeman Zheng) 广州安浩软件科技有限公司 研发总监 公司电邮:[email protected] 手机:+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 [email protected] 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 > '[email protected]' 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 > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
