First off, I just want to start this out saying that I am not an expert at
this by far but I have read the chapter from backup central about 5 times so
that I would understand what I am doing. Please correct me if I am wrong at
anything here. I just recently installed amanda on about 15 freebsd boxes so
I feel I could do it in my sleep now :).


In freebsd you must add amanda to the group operators. (edit /etc/group and
after root on the group operators put       ,amanda so it looks like
root,amanda)
You don't use the directory's when telling it what to backup, atleast not in
my experience. You would have to be root to do so even if it was allowed (i
think).

Type `df` at a prompt and it will tell you all of your partitions. It should
come out something like the following:

Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s1a     49583    36173     9444    79%    /
/dev/ad0s1f   5425485  3993979   997468    80%    /usr
/dev/ad0s1e    496111   323299   133124    71%    /var
procfs              4        4        0   100%    /proc


If you want to backup the user partition, you would stick ad0s1f from that
example into your disklist and not usr.


----- Original Message -----
From: "John R. Jackson" <[EMAIL PROTECTED]>
To: "Shawn M. Green" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, February 05, 2001 11:18 PM
Subject: Re: Amanda Client on FreeBSD


> >I have an Amanda 2.4.2 client set to backup the /home of a FreeBSD
client.
> >When I run amcheck on the index server (Red Hat 6.2), it comes back
saying
> >'permission denied' to access the /home partition.
>
> I assume what you mean is it said permission denied trying to access
> something or other in /dev, right?
>
> >The partition is owned by root.wheel, 755 perms ...
>
> Again, I assume you mean the /dev for the partition?  Any chance one of
> the parent directories is blocking access?
>
> >and dump is suid on the FreeBSD box.  ...
>
> Which is not relevant.  It is only setuid because of the insanely stupid
> way they (and most dump vendors) start the rmt protocol.  It drops its
> permissions right after startup, so has no more access than the calling
> (Amanda) user.
>
> >User amanda has been added to the wheel group.
>
> So if you run something like this on the client:
>
>   su <amanda-user> -c "dump 9f - /home > /dev/null"
>
> (whatever you dump program is called) does it work?
>
> Is Amanda using dump or GNU tar?
>
> Are you running xinetd on the client?  Did you use "groups yes" in the
> amandad entry so xinetd gives the child all the alternate groups?
>
> Did amcheck report the correct device that you think maps to /home?
> In other words, is /etc/fstab (or whatever your system uses) correct?
>
> If none of this helps, please post the exact messages from amcheck and
> a "ls -lL" of the items it says have a permission problem.
>
> >Shawn
>
> John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
>

Reply via email to