Listing 8: Restore example
mikey:/> 1 # mt -f /dev/rst1 rew
mikey:/> 2 # mt -f /dev/nrst1 fsf 6
mikey:/> 3 # cd /judy
mikey:/judy> 4 # restore if /dev/nrst1
restore > what
Dump date: Wed Jul 28 12:00:11 1993
Dumped from: the epoch
Level 0 dump of /judy on pegasus:/dev/sd1h
Label: none
restore > ls
.:
.Xauthority .login .text.signoff
.Xdefaults .logout .textswrc
.clockrc .mailrc .xinitrc
.cm.rc .mailtool-init dead.letter
.cshrc .openwin-init bin/
.desksetdefaults .openwin-menu lost+found/
restore > add .
restore > ls
.:
*.Xauthority *.login *.text.signoff
*.Xdefaults *.logout *.textswrc
*.clockrc *.mailrc *.xinitrc
*.cm.rc *.mailtool-init *dead.letter
*.cshrc *.openwin-init *bin/
*.desksetdefaults *.openwin-menu *lost+found/
restore > delete lost+found
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 #: 1
set owner/mode for '.'? [yn] y
restore > quit
|