Hi, I'm testing my backup system and am finding something unexpected. I'm using amanda 2.4.4p3-1 on a server running RedHat linux ES 4. The restore I'm attempting is performed all on the server using a spare disk on the server.
When I run amrecover and add--"add ."--a partition that has 7 levels of incrementals and then type "list", it shows the tape (actually the server is a tapeless server so it is really on disk) with the original full backup on it and then levels 6 and 7 on the holding disk. All other levels are skipped. Levels 1-5 are not included in the planned restore. I would expect it to restore the latest of each incremental level 1-7. I currently have several holding disks and can confirm that the incremental directories that an 'amadmin info' shows for the same partition exist. When "amrecover" is executed, it shows "found amanda directory" from all expected holding disks and holding disk directories and the directories needed for this restore in particular. If I remove the holding disk from amanda.conf that "holds" levels 6 and 7, then no levels after the original "tape" are listed in the planned restore. This particular partition was backed up in 2005-05-04. On the first holding disk, the latest level 1 is in inc directory 20050509, the latest level 2 is in 20060510, and then the rest of the incremental directories on the holding disk (until the next holding disk) are level 3's for this partition. If I include only this one holding disk in my amanda.conf, this is what the "amindexd.20070417184329.debug" shows (full file attached) amindexd: time 69.178: removing index file: /etc/amanda/cass/index/cass246/_/200 60504_0 amindexd: time 69.182: removing index file: /etc/amanda/cass/index/cass246/_/200 60509_1 amindexd: time 69.182: removing index file: /etc/amanda/cass/index/cass246/_/200 60510_2 amindexd: time 69.182: removing index file: /etc/amanda/cass/index/cass246/_/200 60525_3 amindexd: time 69.183: < 200 Good bye. amindexd: time 69.183: pid 29011 finish time Tue Apr 17 18:44:39 2007 Why is it "removing index file: <blah>"? Thanks, Paul -- Paul Yeatman (858) 534-9896 [EMAIL PROTECTED] ================================== ==Proudly brought to you by Mutt== ==================================
amindexd: debug 1 pid 29011 ruid 33 euid 33: start at Tue Apr 17 18:43:29 2007 amindexd: version 2.4.4p3 amindexd: time 0.000: < 220 cass251 AMANDA index server (2.4.4p3) ready. amindexd: time 0.000: > SECURITY USER root amindexd: time 0.000: bsd security: remote host localhost.localdomain user root local user amanda amindexd: time 0.001: amandahosts security check passed amindexd: time 0.001: < 200 Access OK amindexd: time 0.040: > FEATURES fffffeff9ffe0f amindexd: time 0.040: < 200 FEATURES fffffeff9ffe0f amindexd: time 0.080: > DATE 2007-04-17 amindexd: time 0.080: < 200 Working date set to 2007-04-17. amindexd: time 0.120: > SCNF cass amindexd: time 0.173: < 200 Config set to cass. amindexd: time 0.173: > HOST cass251.ucsd.edu amindexd: time 0.173: < 501 Host cass251.ucsd.edu is not in your disklist. amindexd: time 0.213: > HOST cass251.ucsd.edu amindexd: time 0.213: < 501 Host cass251.ucsd.edu is not in your disklist. amindexd: time 0.253: > HOST cass251 amindexd: time 0.253: < 200 Dump host set to cass251. amindexd: time 0.294: > DISK /tmp/246_ amindexd: time 0.294: < 501 Disk cass251:/tmp/246_ is not in your disklist. amindexd: time 0.334: > DISK sda1 amindexd: time 0.334: < 501 Disk cass251:sda1 is not in your disklist. amindexd: time 5.420: > HOST cass246 amindexd: time 5.420: < 200 Dump host set to cass246. amindexd: time 26.662: > DATE 2006-05-30 amindexd: time 26.663: < 200 Working date set to 2006-05-30. amindexd: time 32.715: > DISK / amindexd: time 32.716: - 2006-10-24 6 cass_49 105 amindexd: time 32.716: - 2006-05-25 3 /backup/vtc1/cass/20060525/cass246._.3 0 amindexd: time 32.716: - 2006-05-24 3 /backup/vtc1/cass/20060524/cass246._.3 0 amindexd: time 32.716: - 2006-05-23 3 /backup/vtc1/cass/20060523/cass246._.3 0 amindexd: time 32.716: - 2006-05-20 3 /backup/vtc1/cass/20060520/cass246._.3 0 amindexd: time 32.716: - 2006-05-19 3 /backup/vtc1/cass/20060519/cass246._.3 0 amindexd: time 32.716: - 2006-05-18 3 /backup/vtc1/cass/20060518/cass246._.3 0 amindexd: time 32.716: - 2006-05-17 3 /backup/vtc1/cass/20060517/cass246._.3 0 amindexd: time 32.716: - 2006-05-16 3 /backup/vtc1/cass/20060516/cass246._.3 0 amindexd: time 32.716: - 2006-05-13 3 /backup/vtc1/cass/20060513/cass246._.3 0 amindexd: time 32.716: - 2006-05-11 3 /backup/vtc1/cass/20060511/cass246._.3 0 amindexd: time 32.716: - 2006-05-10 2 /backup/vtc1/cass/20060510/cass246._.2 0 amindexd: time 32.716: - 2006-05-09 1 /backup/vtc1/cass/20060509/cass246._.1 0 amindexd: time 32.716: - 2006-05-06 1 /backup/vtc1/cass/20060506/cass246._.1 0 amindexd: time 32.716: - 2006-05-05 1 /backup/vtc1/cass/20060505/cass246._.1 0 amindexd: time 32.716: - 2006-05-04 0 cass_01 3 amindexd: time 32.716: < 200 Disk set to /. amindexd: time 32.755: > OISD / amindexd: time 32.755: uncompress command: /bin/gzip -dc '/etc/amanda/cass/index/cass246/_/20060525_3.gz' 2>/dev/null | sort > '/etc/amanda/cass/index/cass246/_/20060525_3' amindexd: time 32.761: f /etc/amanda/cass/index/cass246/_/20060525_3 amindexd: time 32.762: uncompress command: /bin/gzip -dc '/etc/amanda/cass/index/cass246/_/20060510_2.gz' 2>/dev/null | sort > '/etc/amanda/cass/index/cass246/_/20060510_2' amindexd: time 32.767: f /etc/amanda/cass/index/cass246/_/20060510_2 amindexd: time 32.767: uncompress command: /bin/gzip -dc '/etc/amanda/cass/index/cass246/_/20060509_1.gz' 2>/dev/null | sort > '/etc/amanda/cass/index/cass246/_/20060509_1' amindexd: time 32.773: f /etc/amanda/cass/index/cass246/_/20060509_1 amindexd: time 32.773: uncompress command: /bin/gzip -dc '/etc/amanda/cass/index/cass246/_/20060504_0.gz' 2>/dev/null | sort > '/etc/amanda/cass/index/cass246/_/20060504_0' amindexd: time 36.276: f /etc/amanda/cass/index/cass246/_/20060504_0 amindexd: time 36.276: < 200 "/" is a valid directory amindexd: time 36.276: > OLSD / amindexd: time 36.306: < 200- Opaque list of / amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 / amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /.autofsck amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /.automount/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /.bash_history amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /.fonts.cache-1 amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /backup/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /bin/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /boot/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /cass250glast/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /d1 amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /d2/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /data1 amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /dev/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /dos/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /etc/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /hd/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /home/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /initrd/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /integral amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /lib/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /lib64/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /lost+found/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /mamahome amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /media/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /misc/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /mnt/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /opt/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /pjpcd/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /proc/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /root/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /sbin/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /selinux/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /srv/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /sys/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /tftpboot/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /tmp/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /usr/ amindexd: time 36.306: < 201- 2006-05-04 0 cass_01 3 /var/ amindexd: time 36.306: < 200 Opaque list of / amindexd: time 42.118: > ORLD / amindexd: time 59.903: < 200- Opaque recursive list of / amindexd: time 60.262: < 200 Opaque recursive list of / amindexd: time 69.178: > QUIT amindexd: time 69.178: removing index file: /etc/amanda/cass/index/cass246/_/20060504_0 amindexd: time 69.182: removing index file: /etc/amanda/cass/index/cass246/_/20060509_1 amindexd: time 69.182: removing index file: /etc/amanda/cass/index/cass246/_/20060510_2 amindexd: time 69.182: removing index file: /etc/amanda/cass/index/cass246/_/20060525_3 amindexd: time 69.183: < 200 Good bye. amindexd: time 69.183: pid 29011 finish time Tue Apr 17 18:44:39 2007