amanda auth hosts problem
Hello list I have a backupserver with two partitions on it that need to be backup'd + 2 clients. I have a .amandahosts in the amanda user's $HOME. It has this in it: [cut] hostname.eduline.be amanda [/cut] To make backups, this works fine. But when I want to amrecover files, I get that amanda authhosts failed. When I change the user to root instead of amanda, then amrecover works. Is there a more sudle way then to always change that user in that file? (BTW, I applied the stream_client patch, recompiled and amrecover works) Kind regards -- Tom -- Tom Van de Wiele System Administrator Eduline Colonel Bourgstraat 105a 1140 Brussel http://www.eduline.be
Re: amanda auth hosts problem
You are actually supposed to run amrecover as root...which makes sense being that would be the account that would be doing a restore or a recover typically. Don Tom Van de Wiele wrote: Hello list I have a backupserver with two partitions on it that need to be backup'd + 2 clients. I have a .amandahosts in the amanda user's $HOME. It has this in it: [cut] hostname.eduline.beamanda [/cut] To make backups, this works fine. But when I want to amrecover files, I get that amanda authhosts failed. When I change the user to root instead of amanda, then amrecover works. Is there a more sudle way then to always change that user in that file? (BTW, I applied the stream_client patch, recompiled and amrecover works) Kind regards -- Tom
Re: amanda auth hosts problem
On Wed, 3 Apr 2002 at 6:25pm, Tom Van de Wiele wrote Hello list I have a backupserver with two partitions on it that need to be backup'd + 2 clients. I have a .amandahosts in the amanda user's $HOME. It has this in it: [cut] hostname.eduline.be amanda [/cut] To make backups, this works fine. But when I want to amrecover files, I get that amanda authhosts failed. When I change the user to root instead of amanda, then amrecover works. Is there a more sudle way then to always change that user in that file? amrecover needs to be run as root, so .amandahosts on the server must allow root access from the clients. Thus, a sample .amandahosts file on the amanda server might look like: tapeserver.somewhere.com amanda tapeserver.somewhere.com root client1.somewhere.comroot . . etc. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University