NFS would be one of many ways to export the backup off of the node. You can also specify a filename on the command line when running `riak-admin backup` if you want to put it somewhere other than data/.
Sean Cribbs <[email protected]> Developer Advocate Basho Technologies, Inc. http://basho.com/ On May 10, 2010, at 6:51 AM, Germain Maurice wrote: > 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 : > > r...@couch1:~# riak-admin backup [email protected] riak /reiser/riak-backup node > Backing up (node '[email protected]') to '/reiser/[email protected]'. > {"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|'[email protected]'],eacces}}},[{riak_kv_backup,backup,3},{erl_eval,do_apply,5},{init,start_it,1},{init,start_em,1}]}} > init terminating in do_boot () > > r...@couch1:~# riak-admin backup [email protected] riak /reiser/riak-backup all > Backing up (all nodes) to '/reiser/riak-backup'. > ...from ['[email protected]','[email protected]'] > {"init terminating in > do_boot",{{badmatch,{error,{file_error,"/reiser/riak-backup",eacces}}},[{riak_kv_backup,backup,3},{erl_eval,do_apply,5},{init,start_it,1},{init,start_em,1}]}} > 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 ? > > Thanks > -- > > Germain Maurice > Administrateur Système/Réseau > Tel : +33.(0)1.42.43.54.33 > > http://www.linkfluence.net > > > _______________________________________________ > 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
