tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Jean-Loup.Risler () genetique ! uvsq ! fr (Jean-Loup Risler)
To: tru64-unix-managers
Subject: [Q] Restore
Date: Tue, 15 Oct 1996 09:59:09 +0000	[thread overview]
Message-ID: <96076340321567.tru64-unix-managers.marc@archive.invalid> (raw)

Dear gurus,

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? 

I understand that the tape has to be correctly positioned for me to be 
able to "add" the files I want to extract. Since I _am_ correctly 
positioned, what is this f.... "next volume #" ??
I found nothing useful in the System Administration book.

Thanks for your help,

Jean-Loup




-- 
---------------------------------------------------------------------
| Jean-Loup Risler               |                                  |
| Universite de Versailles       | Tel: (33-1) 39 25 45 54          |
| Lab. Genome et Informatique    | Fax: (33-1) 39 25 45 69          |
| Batiment Buffon                |                                  |
| 45 Avenue des Etats-Unis       | email: risler@genetique.uvsq.fr  |
| 78035  Versailles Cedex France |                                  |
---------------------------------------------------------------------

                 reply	other threads:[~1996-10-15  9:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox