Whenever Amanda has to roll over to a new tape and the first tape in
the expected list is missing, the backups fail. For example, last
night, the expected tapes were:
C83166
C83259
C83170
The tape C83166 was not in the changer so my wrapper script loaded
C83259, fired off amdump, and the backup started up fine. However,
when the tape ran out, Amanda tried to load C83166 but couldn't find
it and failed. C83170 was available but Amanda apparently did not
try to load it.
This condition is caused by our offsite storage facility not alway
returning tapes on schedule so, until I can get managment to dump
their worthless arses, I need a workaround for a chronic missing tape
problem.
Is there a configuration option I can use to tell Amanda to try the
next tape if the desired tape is not avaialble?
$ amadmin daily1 version
build: VERSION="Amanda-2.4.3b2"
BUILT_DATE="Fri Jul 25 16:50:11 PDT 2003"
BUILT_MACH="Linux chena 2.4.18 #6 SMP Wed Jul 23 10:08:38 PDT
2003 i686 unknown"
CC="gcc"
paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
libexecdir="/usr/local/libexec" mandir="/usr/local/man"
AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/"
RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
RESTORE="/sbin/restore" SAMBA_CLIENT="/usr/bin/smbclient"
GNUTAR="/bin/gtar" COMPRESS_PATH="/bin/gzip"
UNCOMPRESS_PATH="/bin/gzip" MAILER="/usr/bin/Mail"
listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
defs: DEFAULT_SERVER="chena" DEFAULT_CONFIG="DailySet1"
DEFAULT_TAPE_SERVER="chena"
DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM
LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
---- from amanda.conf ----
dumpcycle 7 days
runspercycle 6
tapecycle 14 tapes
runtapes 3
---- end -----
I actually have 19 tapes allocated for this backup.
--
Stephen Carville <stephen AT totalflood DOT com>
UNIX and Network Administrator
DPSI
6033 W. Century Blvd, Ste 1075
Los Angeles, CA 90045
310-342-3602
|