On Tue, 11 Dec 2001 at 1:37pm, ThomasRatliffDDS wrote

> Is there any FAQ that describes how to Create an Index file from tape?
> 
No, but I'll give it a shot.

In indexdir (as specified in amanda.conf), there's a directory for each 
host.  In each host's directory, there's a directory for each disk 
(subbing '_' for '/').  In each disk directory, there's a gzipped index 
file named by the date of the amanda run and the level, e.g. this 
morning's level one is 20011212_1.gz.  The contents of that file are 
generated on the fly by the backup program of choice.  If, e.g., you use 
tar, then it's a 'tar t'.  Actually, the exact command (from 
sendbackup*debug) is '/bin/gtar -tf - 2>/dev/null | sed -e 's/^\.//' .

So, piping each backup image through 'tar t' (or the equivalent for 
restore) should do it.  Remember to skip over the first 32k of each image 
on tape, as that's the amanda header.

Good luck.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

Reply via email to