Amanda-Users

Errors on labeling tape

2008-09-18 13:31:44
Subject: Errors on labeling tape
From: Prashant Ramhit <prashant AT bluebarracuda DOT com>
To: amanda-users <amanda-users AT amanda DOT org>
Date: Thu, 18 Sep 2008 18:14:44 +0100
Hi All,

I am doing a daily backup of my system on an LTO-4 tape with a single tape drive.
When labelling the tape, I am receiving the errors described below.

Someone please give me a few notes on what is wrong.

Kind regards,
Prashant




###  Errors ##

root@backupserver:/etc/amanda/fullback# amlabel fullback FULLBACK-01
"/etc/amanda/fullback/amanda.conf", line 22: configuration keyword expected
"/etc/amanda/fullback/amanda.conf", line 22: end of line is expected
"/etc/amanda/fullback/amanda.conf", line 24: configuration keyword expected
"/etc/amanda/fullback/amanda.conf", line 24: end of line is expected
"/etc/amanda/fullback/amanda.conf", line 25: configuration keyword expected
"/etc/amanda/fullback/amanda.conf", line 27: configuration keyword expected
"/etc/amanda/fullback/amanda.conf", line 27: end of line is expected
"/etc/amanda/fullback/amanda.conf", line 42: dumptype parameter expected
"/etc/amanda/fullback/amanda.conf", line 42: end of line is expected
"/etc/amanda/fullback/amanda.conf", line 43: dumptype parameter expected
"/etc/amanda/fullback/amanda.conf", line 43: end of line is expected
"/etc/amanda/fullback/amanda.conf", line 44: dumptype parameter expected
amlabel: errors processing config file "/etc/amanda/fullback/amanda.conf"
root@backupserver:/etc/amanda/fullback#


#### My Config ###


root@backupserver:/etc/amanda/fullback# more amanda.conf
org "Project Data - Daily Tape"
mailto "root"
dumpuser "amanda"
inparallel 4
netusage 600

# a filesystem is due for a full backup once every day
dumpcycle 0 days
tapecycle 10 tapes
runspercycle 1
runtapes 1

bumpsize 20 MB
bumpdays 1
bumpmult 4

tapedev "/dev/nst0"

tapetype LTO-4
labelstr "^FULLBACK-[0-9][0-9]*$"

diskdir "/var/tmp/amanda"
disksize 2000 MB
infofile "/var/lib/amanda/fullback/curinfo"
logfile "/var/log/amanda/fullback/log"

indexdir "/var/lib/amanda/fullback/index"

define tapetype LTO-4 {
  comment "HP LTO4 800Gb - Compression Off"
  length 802816 mbytes
  filemark 0 kbytes
  speed 52616 kps
}

define dumptype root-tar {
program "GNUTAR"
comment "root partition dump with tar"
options index, exclude-list "/etc/amanda/fullback/fullback.exclude"
priority high
}

### Tape Status ###


root@backupserver:/etc/amanda/fullback# mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x46 (no translation).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
root@backupserver:/etc/amanda/fullback#




<Prev in Thread] Current Thread [Next in Thread>