On Friday 27 January 2006 16:40, Hongwei Li wrote: > Hi, > > I have an urgent problem. For some reason some users's mail inbox got > wiped out. I need to restore them from the tape backup. I use dump to > backup them up. I have trouble to restore. What I did is: > > # mt -f /dev/st0 rewind > # mt -f /dev/nst0 fsf 14 -- to the beginning point of /var backup > # restore if /dev/st0 > restore > ls > .: > ... log/ spool/ > ... > restore > cd spool/mail > restore > ls > ./spool/mail: > (all username, look normal) > restore > add user1name > restore > extract > You have not read any volumes yet. > Unless you know which volume your file(s) are on you should start > with the last volume and work towards the first. > Specify next volume # (none if no more volumes): > > What should I enter? I tried 1, then I can extract one user's mail, > however, I could not extract any other users. I quit and redo the > above from beginning (mt ...), it starts asking me: restore> add username1 restore> add username2 .... restore> add usernameX restore> extract restore> 1 restore> y restore>quit > > You have not read any volumes yet. > Unless you know which volume your file(s) are on you should start > with the last volume and work towards the first. > Specify next volume # (none if no more volumes): > Specify next volume # (none if no more volumes): 1 > Mount tape volume 1 > Enter ``none'' if there are no more tapes > otherwise enter tape name (default: /dev/st0) > > Then, it does not work no matter what I entered. What should I do? > Please help! > > Thanks a lot! > > Hongwei Li -- Tony Molloy. Dept. of Comp. Sci. University of Limerick