Re: Restore from file, not tape
I'm manually extracting the files now based on the clues you all gave me. I'll come back to what broke once I get the customer back up. Thank you all for your suggestions. As usual - you're very helpful. :) LP
Re: Restore from file, not tape
Linda Pahdoco wrote: Jon LaBadie wrote: Amrecover, not amrestore, would be the command to extract a directory tree from that holding disk (or tape). If that is what you used, and you were unable to see the index of files in the dump, was the "record" parameter set to "yes" when the dump was made. No index is created otherwise. If it was set, show the command and interactive amrecover session you used (see "script" command as a possible recorder) Sorry, my mistype. I am using amrecover. When I dump the history for the DLE I get this: amrecover> history 200- Dump history for config "DailySet1" host "" disk "" 201- 2007-10-30 3 DailySet1-051 72 201- 2007-10-29 3 DailySet1-047 75 201- 2007-10-28 2 DailySet1-042 77 201- 2007-10-27 2 DailySet1-037 67 201- 2007-10-26 1 DailySet1-033 4 201- 2007-10-24 1 DailySet1-027 67 201- 2007-10-22 4 DailySet1-022 5 201- 2007-10-21 4 DailySet1-015 4 201- 2007-10-20 4 DailySet1-010 4 201- 2007-10-19 4 DailySet1-006 4 201- 2007-10-18 4 DailySet1-117 5 201- 2007-10-16 3 DailySet1-112 4 201- 2007-10-14 3 DailySet1-103 76 201- 2007-10-13 2 DailySet1-099 68 201- 2007-10-12 2 DailySet1-094 74 201- 2007-10-11 1 DailySet1-093 4 201- 2007-10-10 1 DailySet1-083 59 201- 2007-10-07 5 DailySet1-072 68 My level 0 ran on the 23rd, and is sitting on my disk. As you can see, it doesn't show in the dump history, I'm guessing because it didn't actually get dumped onto a tape. The dump should be listed. Is it listed in the output of: amadmin find If it is not listed then something is wrong in the holding disk. What is the complete path of the holding disk? Do an 'ls -l' on the holding disk and a 'dd if= bs=32k count=1' Jean-Louis
Re: Restore from file, not tape
Jon LaBadie wrote: > Amrecover, not amrestore, would be the command to extract a directory > tree from that holding disk (or tape). > > If that is what you used, and you were unable to see the index of files > in the dump, was the "record" parameter set to "yes" when the dump was > made. No index is created otherwise. If it was set, show the command > and interactive amrecover session you used (see "script" command as a > possible recorder) > Sorry, my mistype. I am using amrecover. When I dump the history for the DLE I get this: amrecover> history 200- Dump history for config "DailySet1" host "" disk "" 201- 2007-10-30 3 DailySet1-051 72 201- 2007-10-29 3 DailySet1-047 75 201- 2007-10-28 2 DailySet1-042 77 201- 2007-10-27 2 DailySet1-037 67 201- 2007-10-26 1 DailySet1-033 4 201- 2007-10-24 1 DailySet1-027 67 201- 2007-10-22 4 DailySet1-022 5 201- 2007-10-21 4 DailySet1-015 4 201- 2007-10-20 4 DailySet1-010 4 201- 2007-10-19 4 DailySet1-006 4 201- 2007-10-18 4 DailySet1-117 5 201- 2007-10-16 3 DailySet1-112 4 201- 2007-10-14 3 DailySet1-103 76 201- 2007-10-13 2 DailySet1-099 68 201- 2007-10-12 2 DailySet1-094 74 201- 2007-10-11 1 DailySet1-093 4 201- 2007-10-10 1 DailySet1-083 59 201- 2007-10-07 5 DailySet1-072 68 My level 0 ran on the 23rd, and is sitting on my disk. As you can see, it doesn't show in the dump history, I'm guessing because it didn't actually get dumped onto a tape. I can (and did) use "settape" to point to the file. However, since the dump isn't showing in my history I can't tell amanda to use it. If I choose one of the other dates I do see the correct file list. I'm going to go read on dd/tar, but if I had a way to use amrecover that's what I'd like to do. Thanks, LP
Re: Restore from file, not tape
On Wed, Oct 31, 2007 at 04:24:25PM -0500, Linda Pahdoco wrote: > I was really hoping I could get the tape changer configured before this > happened, but it bit me on the rear. > > Amanda 2.4.5 server. > > I've got a level 0 sitting on my disk. It's too large to fit on tape. > > I need to extract a directory from it. I know the entire path. > > It doesn't show up in my list on amrestore because it never got dumped > to tape from the holding disk. > > This has probably been covered before and I just didn't search right - > but does someone know the commands to pull the directory from the file? > Amrecover, not amrestore, would be the command to extract a directory tree from that holding disk (or tape). If that is what you used, and you were unable to see the index of files in the dump, was the "record" parameter set to "yes" when the dump was made. No index is created otherwise. If it was set, show the command and interactive amrecover session you used (see "script" command as a possible recorder) -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Restore from file, not tape
I was really hoping I could get the tape changer configured before this happened, but it bit me on the rear. Amanda 2.4.5 server. I've got a level 0 sitting on my disk. It's too large to fit on tape. I need to extract a directory from it. I know the entire path. It doesn't show up in my list on amrestore because it never got dumped to tape from the holding disk. This has probably been covered before and I just didn't search right - but does someone know the commands to pull the directory from the file? Thanks, LP