Try putting a / in front of usr/sbin/restore and see if that helps.
Jason > From: Kevin Alford <[EMAIL PROTECTED]> > Date: Mon, 31 Jan 2005 11:40:58 -0500 > To: <[EMAIL PROTECTED]>, <[email protected]> > Subject: RE: Amanda server crashed!!! > > I am getting the following error. I have found my data. > > [EMAIL PROTECTED] /class_saa/restore]# dd if=/dev/rmt1.1 bs=32k skip=1 | > /usr/bin/gzip -dc | usr/sbin/restore -f... - > -bash: usr/sbin/restore: A file or directory in the path name does not > exist. > 1+0 records in. > 1+0 records out. > > I am stumped? > > > > Kevin D. Alford > > > -----Original Message----- > From: Gene Heskett [mailto:[EMAIL PROTECTED] > Sent: Monday, January 31, 2005 11:16 AM > To: [email protected] > Cc: Kevin Alford > Subject: Re: Amanda server crashed!!! > > On Monday 31 January 2005 06:30, Kevin Alford wrote: >> My Amanda backup server crashed, and I had to rebuild it. I was >> running Amanda 2.4.2p2 on AIX 5.1 ML6. >> I desperately need to restore the data from my Amanda tapes, but I >> don't have the Amanda index files. >> Isn't there a way I can use native Unix to read and restore my tapes >> written by Amanda? >> Your assistance in this matter is greatly appreciated. >> > Sure, use mt to rewind the tape, starting with a tape thats at least a > dumpcycle old. dd the label block out to verify the correct starting > tape, then dd the next block, both of these to stdout, and follow the > directions in the 2nd block to recover the first file to scratch > storage. dd the next block to stdout to get the instructions again as it > may change from file to file depending on your use of software > compression. > > Repeat as required, moving stuff from scratch to where it goes until > you've recovered it all. You'll be a day or so I expect unless you feel > confident and cd to the target dir the next file came from, thereby > saving you the trouble of moving all that stuff from scratch storage. > > One of the things I do here, over and above what amanda does, is to make > a tarball of both the amanda config directory's contents, and the indice > directory's contents, and append them to the tape every night after the > amdump run is finished and any file locks amdump may have had on things, > causeing that file to be missing in the backup, have been removed so I > get the whole maryann. > > This may require a reduction in the specified tapesize in your tapetype > in order to make sure amanda saves room for them. This is done by the > wrapper script that cron calls, and which then does the amdump, followed > by this extra stuff so that the end of the tape actually has the indice > and config files on it that wrote *that* tape. > > Currently my scripts have been simplified considerable by liberal use of > the comment character as I'm now useing vtapes on a big hard drive, but > anyone who'd like a copy of them is welcome. The comments, and variable > useage should be grokable by someone familiar with bash scripts. > > But, by the use of these, I can lose a drive, reinstall the current os > in bare bones mode, and almost any version of amanda in the 2.4.5 > series, use dd to recover those last 2 files, and then have all of > amanda's facilities to do the rest of the recovery. That of course is > if the drive lost isn't the new 200GB I'm using for the vtape storage. > :) > > >> >> Kevin D. Alford > > -- > Cheers, Gene > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author) > 99.32% setiathome rank, not too shabby for a WV hillbilly Yahoo.com > attorneys please note, additions to this message by Gene Heskett are: > Copyright 2005 by Maurice Eugene Heskett, all rights reserved. > > >
