When I have accounts on several machines on the
same lan I often NFS mount the remote homedirs
under my local home dir.  My backups of the
local home dir is failing when it encounters
the NFS mount dir.  It complains permission
denied and exits with gnutars status of 2.
Amanda then considers this a failed backup.

I understand why permission is denied, by
default, remote roots have no special privs
on NFS mounted filesystems.  I can probably
work around the problem with an appropriate
exclude.  But as I recall, gnutar is run
with a "don't cross FS boundry" option.
Shouldn't that cause gnutar to ignore the
mount dir and what is under it?

Here are the lines from the mailed report.
Interestingly, it seems that after the
dump failed, it tried the same DLE a
second time.

  /-- butch Home lev 1 FAILED [dump (18773) /opt/csw/bin/gtar returned 2]
  sendbackup: start [butch:Home level 1]
  sendbackup: info BACKUP=/opt/csw/bin/gtar
  sendbackup: info RECOVER_CMD=/opt/csw/bin/gzip -dc |/opt/csw/bin/gtar -xpGf - 
...
  sendbackup: info COMPRESS_SUFFIX=.gz
  sendbackup: info end
  ? /opt/csw/bin/gtar: ./jon/mums: Cannot savedir: Permission denied
  ? /opt/csw/bin/gtar: ./jon/mums: Warning: Cannot open: Permission denied
  | Total bytes written: 4354682880 (4.1GiB, 3.3MiB/s)
  ? /opt/csw/bin/gtar: Exiting with failure status due to previous errors
  ? dump (18773) /opt/csw/bin/gtar returned 2
  sendbackup: error [dump (18773) /opt/csw/bin/gtar returned 2]
  \--------
  /-- butch Home lev 1 FAILED [dump (18901) /opt/csw/bin/gtar returned 2]
  sendbackup: start [butch:Home level 1]
  sendbackup: info BACKUP=/opt/csw/bin/gtar
  sendbackup: info RECOVER_CMD=/opt/csw/bin/gzip -dc |/opt/csw/bin/gtar -xpGf - 
...
  sendbackup: info COMPRESS_SUFFIX=.gz
  sendbackup: info end
  ? /opt/csw/bin/gtar: ./jon/mums: Cannot savedir: Permission denied
  ? /opt/csw/bin/gtar: ./jon/mums: Warning: Cannot open: Permission denied
  | Total bytes written: 4354693120 (4.1GiB, 3.0MiB/s)
  ? /opt/csw/bin/gtar: Exiting with failure status due to previous errors
  ? dump (18901) /opt/csw/bin/gtar returned 2
  sendbackup: error [dump (18901) /opt/csw/bin/gtar returned 2]
  \--------


-- 
Jon H. LaBadie                  j...@jgcomp.com
 JG Computing
 12027 Creekbend Drive          (703) 787-0884
 Reston, VA  20194              (703) 787-0922 (fax)

Reply via email to