From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076340321570.tru64-unix-managers.marc@archive.invalid> From: Jean-Loup.Risler () genetique ! uvsq ! fr (Jean-Loup Risler) Date: Tue, 15 Oct 1996 11:28:15 +0000 To: tru64-unix-managers Subject: [SUMMARY] Restore X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076340321570 My problem: *apparently* "restore -i" did not restore my files (my original message below) Thanks to olle@cb.uu.se (Olle Eriksson) Harald Lundberg Andy Adamson who answered in a matter of seconds. Answer: before restoring, you MUST cd to the top level of the file system. In my case (see my original posting) I should have Cded to /junk In fact restore did restore my files, but created a subdirectory in the directory where I was sitting. The answer to the "stupid question" is indeed "1" as I did Also: instead of skipping 4 files with mt before restoring, it is simpler to type "restore -is 5" . -i for "interactive" . -s 5 to tell restore to go to the 5th file on the tape Thanks gurus! Jean-Loup ------------- my original posting ---------------------------------- I am running DU 3.2c I want to restore files that have been inadvertently deleted by a user. I usually dump my file systems on one single tape, here is the procedure: #--------------------------- /usr/bin/mt -f /dev/rmt0h rewind /usr/sbin/dump -0uf /dev/nrmt0h /usr /usr/sbin/dump -0uf /dev/nrmt0h /buffon /usr/sbin/dump -0uf /dev/nrmt0h /cgm /usr/sbin/dump -0uf /dev/nrmt0h /gcg /usr/sbin/dump -0uf /dev/nrmt0h /junk /usr/bin/mt -f /dev/rmt0h weof /usr/bin/mt -f /dev/rmt0h rewind #---------------------------- The files I want to restore are in /junk, hence the 5th file system. Before entering restore, I skip the 4 first file systems: /usr/bin/mt -f /dev/nrmt0h fsf 4 Now I enter "restore -i". "ls" shows that I am correctly positioned. I then "add" the files I want to restore, then "extract" Now comes a totally cryptic question: > You have not read any tapes yet > Unless you know which volume your file(s) are on you can start > with the last volume and work towards the first. > Specify next volume #: I tried "1" .... The tape unit becomes busy for some time, then I get the prompt "restore > " I quit, and see than I did not restore anything.... Besides the fact that the question is cryptic (hence stupid and useless) what should I answer? ----------------------------------------------------------