bperrotta
June 2nd, 2008, 11:49 AM
Here are the errors below followed by my amanda.conf file.
Does anyone know how to fix these errors? I am extremely new to linux
backups. Help appreciated
amandabackup@Familyproject:/etc/amanda> amcheck -c myconfig
"/etc/amanda/myconfig/amanda.conf", line 22: configuration keyword expected
"/etc/amanda/myconfig/amanda.conf", line 23: configuration keyword expected
"/etc/amanda/myconfig/amanda.conf", line 26: configuration keyword expected
"/etc/amanda/myconfig/amanda.conf", line 37: dumptype parameter expected
"/etc/amanda/myconfig/amanda.conf", line 37: end of line is expected
"/etc/amanda/myconfig/amanda.conf", line 38: dumptype parameter expected
"/etc/amanda/myconfig/amanda.conf", line 38: end of line is expected
"/etc/amanda/myconfig/amanda.conf", line 39: dumptype parameter expected
"/etc/amanda/myconfig/amanda.conf", line 39: end of line is expected
"/etc/amanda/myconfig/amanda.conf", line 40: dumptype parameter expected
amcheck: errors processing config file "/etc/amanda/myconfig/amanda.conf"
here is my amanda.conf file below
org "My Organization" # your organization name for reports
mailto "noc@somenoc.com" # space separated list of operators at your site
dumpuser "root" # the user to run dumps under
inparallel 4 # maximum dumpers that will run in parallel
netusage 600 # maximum net bandwidth for Amanda, in KB per sec
dumpcycle 1 weeks # the number of days in the normal dump cycle
tapecycle 1 tapes # the number of tapes in rotation
bumpsize 1000 MB # minimum savings (threshold) to bump level 1 -> 2
bumpdays 1 # minimum days at each level
bumpmult 4 # threshold = bumpsize * (level-1)**bumpmult
runtapes 1
tapedev "/dev/st0" # Linux @ tuck
tapetype Travan # what kind of tape it is (see tapetypes below)
labelstr "^MYCONFIG[0-9][0-9]*$" # label constraint regex: all tapes must match
diskdir "/holding" # where the holding disk is
disksize -50 MB # how much space can we use on it
infofile "/amanda/conf/myconfig/curinfo" # database filename
logfile "/amanda/conf/myconfig/log" # log filename
indexdir "/amanda/conf/myconfig/index"
define tapetype Travan {
comment "Travan 10/20"
length 10000 mbytes
}
define dumptype myconfig {
program "GNUTAR"
comment "partitions dumped with tar"
options no-compress, index, exclude-list "/amanda/conf/myconfig/exclude.gtar"
priority medium
}
Thanks for the help,
Bill
Does anyone know how to fix these errors? I am extremely new to linux
backups. Help appreciated
amandabackup@Familyproject:/etc/amanda> amcheck -c myconfig
"/etc/amanda/myconfig/amanda.conf", line 22: configuration keyword expected
"/etc/amanda/myconfig/amanda.conf", line 23: configuration keyword expected
"/etc/amanda/myconfig/amanda.conf", line 26: configuration keyword expected
"/etc/amanda/myconfig/amanda.conf", line 37: dumptype parameter expected
"/etc/amanda/myconfig/amanda.conf", line 37: end of line is expected
"/etc/amanda/myconfig/amanda.conf", line 38: dumptype parameter expected
"/etc/amanda/myconfig/amanda.conf", line 38: end of line is expected
"/etc/amanda/myconfig/amanda.conf", line 39: dumptype parameter expected
"/etc/amanda/myconfig/amanda.conf", line 39: end of line is expected
"/etc/amanda/myconfig/amanda.conf", line 40: dumptype parameter expected
amcheck: errors processing config file "/etc/amanda/myconfig/amanda.conf"
here is my amanda.conf file below
org "My Organization" # your organization name for reports
mailto "noc@somenoc.com" # space separated list of operators at your site
dumpuser "root" # the user to run dumps under
inparallel 4 # maximum dumpers that will run in parallel
netusage 600 # maximum net bandwidth for Amanda, in KB per sec
dumpcycle 1 weeks # the number of days in the normal dump cycle
tapecycle 1 tapes # the number of tapes in rotation
bumpsize 1000 MB # minimum savings (threshold) to bump level 1 -> 2
bumpdays 1 # minimum days at each level
bumpmult 4 # threshold = bumpsize * (level-1)**bumpmult
runtapes 1
tapedev "/dev/st0" # Linux @ tuck
tapetype Travan # what kind of tape it is (see tapetypes below)
labelstr "^MYCONFIG[0-9][0-9]*$" # label constraint regex: all tapes must match
diskdir "/holding" # where the holding disk is
disksize -50 MB # how much space can we use on it
infofile "/amanda/conf/myconfig/curinfo" # database filename
logfile "/amanda/conf/myconfig/log" # log filename
indexdir "/amanda/conf/myconfig/index"
define tapetype Travan {
comment "Travan 10/20"
length 10000 mbytes
}
define dumptype myconfig {
program "GNUTAR"
comment "partitions dumped with tar"
options no-compress, index, exclude-list "/amanda/conf/myconfig/exclude.gtar"
priority medium
}
Thanks for the help,
Bill