Amanda-Users

Index files not being created

2005-09-13 02:08:11
Subject: Index files not being created
From: "Cameron Beattie" <kjcsb AT orcon.net DOT nz>
To: <amanda-users AT amanda DOT org>
Date: Tue, 13 Sep 2005 17:40:50 +1200
I am having trouble getting amanda to create index files. I have set index to yes in the dumptype. I don't believe there is a permissions problem:
ls -laF /var/lib/amanda/normal/index/hostname
drwxr-sr-x  2 amanda disk 4096 Sep 13 16:56 _/
drwxr-sr-x  4 amanda disk 4096 Sep 13 16:47 ./
drwxr-xr-x  4 amanda disk 4096 Sep 13 16:24 ../

I have checked the logfiles and they seem fine:
START driver date 20050913
DISK planner hostname /
START planner date 20050913
WARNING planner tapecycle (3) <= runspercycle (10)
FINISH planner date 20050913
STATS driver startup time 0.387
START taper datestamp 20050913 label Normal-01 tape 0
SUCCESS dumper hostname / 20050913 1 [sec 0.149 kb 230 kps 1540.5 orig-kb 230] SUCCESS taper hostname / 20050913 1 [sec 0.087 kb 230 kps 2639.7 {wr: writers 9 rdwait 0.000 wrwait 0.082 filemark 0.002}]
INFO taper tape Normal-01 kb 288 fm 1 [OK]
FINISH driver date 20050913 time 35.101

I have the following setup:

/etc/normal/amanda.conf (some entries excluded)
dumpuser "amanda"
infofile "/var/lib/amanda/normal/curinfo" # database filename
logdir   "/var/lib/amanda/normal"  # log directory
indexdir "/var/lib/amanda/normal/index" # index directory
tapelist "/var/lib/amanda/normal/tapelist"
define dumptype global {
   comment "Global definitions"
}
define dumptype root-tar {
   global
   program "GNUTAR"
   comment "root partitions dumped with tar"
   compress none
   index yes
   priority low
}

/etc/normal/disklist.conf
hostname / {
  root-tar
  include "./etc"
}

I suspect there's something simple I'm doing wrong. Any advice or help would be greatly appreciated.

Regards

Cameron

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