On Fri, 12 Jul 2002 at 10:38am, Eduardo Ceva wrote

> 1) how do I know how logger does my backup it takes? I know the start 
> time, but I don�t know when it is finishing.

a) Look at the time at which the report email is sent

b) In that email, look at the Run time.  That's the amount of (wall clock) 
time for which amanda ran.

> 2) why I get this at my log after backup is done? Whats the difference 
> between Success and Strange? 

STRANGE means the backup finished, but the backup program (tar, in your 
case) output some messages amanda wasn't expecting.

> FAIL dumper piaui /mnt/backup/sn1/etc1 0 [/bin/gtar returned 2]
> sendbackup: start [piaui:/mnt/backup/sn1/etc1 level 0]
> sendbackup: info BACKUP=/bin/gtar
> sendbackup: info RECOVER_CMD=/bin/gtar -f... -
> sendbackup: info end
> ? gtar: ./samba/private: Cannot savedir: Permission denied
> ? gtar: ./samba/private: Warning: Cannot savedir: Permission denied

*snip*

> STRANGE dumper piaui /mnt/backup/sn3/etc2 0 [sec 14.472 kb 192 kps 13.3 orig-kb 960]
> sendbackup: start [piaui:/mnt/backup/sn3/etc2 level 0]
> sendbackup: info BACKUP=/bin/gtar
> sendbackup: info RECOVER_CMD=/bin/gtar -f... -
> sendbackup: info end
> ? gtar: ./hosts.equiv: Warning: Cannot open: Permission denied
> ? gtar: ./master.passwd: Warning: Cannot open: Permission denied
> ? gtar: ./skeykeys: Warning: Cannot open: Permission denied
> ? gtar: ./spwd.db: Warning: Cannot open: Permission denied
> ? gtar: ./ssh_host_dsa_key: Warning: Cannot open: Permission denied
> ? gtar: ./ssh_host_key: Warning: Cannot open: Permission denied
> ? gtar: ./ssh_host_rsa_key: Warning: Cannot open: Permission denied
> ? gtar: ./rc.d/snort: Warning: Cannot open: Permission denied

So, you're having permissions errors.  Amanda runs tar via a setuid root 
runtar wrapper, so you shouldn't be getting these.  However, I see that 
these filesystems are in /mnt -- are they NFS mounted perchance?  If 
that's the case, you need to set the no_root_squash option on the NFS 
server(s) for these exports.  Otherwise, root on the NFS client (the one 
running amanda) gets mapped to nobody on the NFS server, and you get your 
permission denied errors.

Is there a reason you can't install the amanda client bits on the NFS 
servers themselves?

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


Reply via email to