尝试riak-admin backup riak@ec2-xxx.compute-1.amazonaws.com riak /home/user/backup.dat all
在远程机器(ec2 实例)上运行时遇到以下错误消息
{"init terminating in do_boot",{{nocatch,{could_not_reach_node,'riak@ec2-xxx.compute-1.amazonaws.com'}},[{riak_kv_backup,ensure_connected,1,[{file,"src/riak_kv_backup.erl"},{line,171}]},{riak_kv_backup,backup,3,[{file,"src/riak_kv_backup.erl"},{line,40}]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,572}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
我假设存在连接/权限错误,因为如果在实例上本地运行相同的备份命令(当然使用本地节点 ip),我应该注意服务器(Node.js)可以远程连接到该 ip,因此端口是开放和可访问的 8098)。关于如何使备份远程操作的任何建议?