I just install amanada on my backup serveur.
My config files are at the end of the email.
I can talk to the Charger and the tape drive.

But if I do a amtape daily current I receive :
amtape: scanning current slot in tape-changer rack:
slot 4: date 20040318 label daily-03

The prob is that the tape is from slot 3.


is it prob with stafile, ... ?


thanks !!



My config Files:

chg-scsi.conf :
number_configs 1
eject 0 sleep 90 cleanmax 100 changerdev /dev/sg2
config 0 drivenum 0 dev /dev/nst0 startuse 0 enduse 6 statfile /etc/amanda/daily/tape0-slot
usagecount /etc/amanda/daily/totaltime
tapestatus /etc/amanda/daily/tapestatus tapestatus /etc/amanda/daily/tape0-status
debuglevel 9:0


amanda.conf
#
# Fichier de configuration pour les backups journaliers de Amanda
#
# Auteur: Eric Pare
# Auteur: Marc-Andre Morissette
# Auteur : Frederic Medery
# Date: 23 mars 2002
# Modification : 16 mars 2004

# On inclut les config de base
includefile "/etc/amanda/amanda.global.conf"
includefile "/etc/amanda/tapetypes.conf"
# Doit apparaitre apres la definition de global
# includefile "/etc/amanda/dumptypes.conf"

org "LexUM daily backups" # your organization name for reports

# Parametres du cycle de backup
dumpcycle 1 week        # the number of days in the normal dump cycle
                       # (1 full backup par semaine)
runspercycle 5 days     # the number of amdump runs in dumpcycle days
                       # (tous les jours de la semaine)
tapecycle 6 tapes       # the number of tapes in rotation



# Parametres de config de l'algorithme qui determine si les backups
# sont incrementals ou pas
bumpsize 20 Mb          # minimum savings (threshold) to bump level 1 -> 2
bumpdays 1              # minimum days at each level
bumpmult 4              # threshold = bumpsize * bumpmult^(level-1)

runtapes 1 # number of tapes to be used in a single run of amdump (must be > 0)
tapedev "0" # the no-rewind tape device to be used
tapetype IBM-LTO3581 # what kind of tape it is
labelstr "^daily-[0-9][0-9]$" # label constraint regex: all tapes must match
changerdev "/dev/sg2"
changerfile "/etc/amanda/daily/chg-scsi.conf"
tpchanger "chg-scsi"
use -50 Mb chunksize 1 Gb # size of chunk if you want big dump to be
}
Reserve 20
infofile "/var/lib/amanda/daily/curinfo" logdir "/var/lib/amanda/daily/log" indexdir "/var/lib/amanda/daily/index" define dumptype global {
comment "Global definitions"
index yes
compress server fast
}


includefile "/etc/amanda/dumptypes.conf"



Reply via email to