Thanks!  Now I have valid index file I think.  Now my problem is with
amrecover.

indexfile is
/usr/adm/amanda/home/index/mac-pbG3.orthodontists.info/_/20010916_0.gz

When I sit as root on the client machine mac-pbG3 and run

ssh -1 buddies /usr/sbin/amrecover mac-pbG3_full

root@buddies's password:
AMRECOVER Version 2.4.2p2. Contacting server on buddies.orthodontists.info
...
220 buddies AMANDA index server (2.4.2p2) ready.
200 Access OK
Setting restore date to today (2001-12-12)
200 Working date set to 2001-12-12.
200 Config set to mac-pbG3_full.
200 Dump host set to buddies.orthodontists.info.
$CWD '/root' is on disk '/' mounted at '/'.
200 Disk set to /.
No index records for disk for specified date
If date correct, notify system administrator
Invalid directory - /root
amrecover>

and enter
setdate 2001-09-16

setdate 2001-09-16
200 Working date set to 2001-09-16.
No index records for cwd on new date
Setting cwd to mount point
amrecover>

Any ideas what I need to stick in here please amrecover?



On Wed, 12 Dec 2001, Joshua Baker-LePain wrote:

> 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