* restore from dump
@ 1995-01-18 14:40 CARL HILLSMAN
0 siblings, 0 replies; 3+ messages in thread
From: CARL HILLSMAN @ 1995-01-18 14:40 UTC (permalink / raw)
To: tru64-unix-managers
i have a dump of the system which was produced via the following commands:
/usr/bin/mt -f /dev/rmt0h rewind
/usr/sbin/dump -0uf /dev/nrmt0h -d 61000 -s 114880 / >/log 2>&1
/usr/sbin/dump -0uf /dev/nrmt0h -d 61000 -s 114880 /usr >>/log 2>&1
/usr/sbin/dump -0uf /dev/nrmt0h -d 61000 -s 114880 /u02 >>/log 2>&1
/usr/bin/mt -f /dev/rmt0h offline
i need to restore a file from the /usr file system. when i do restore -i and
issuse the ls command i see the root filesystem. if i try to cd to /usr, it
lets me but i don't see any files. i must be missing something. there are
really 3 dumps on this tape, right? how do i get to the the /usr dump?
thanks........
carl
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: restore from dump
@ 1995-01-18 16:54 Dr. Tom Blinn, 603-881-0646
0 siblings, 0 replies; 3+ messages in thread
From: Dr. Tom Blinn, 603-881-0646 @ 1995-01-18 16:54 UTC (permalink / raw)
To: tru64-unix-managers
> i have a dump of the system which was produced via the following commands:
>
> /usr/bin/mt -f /dev/rmt0h rewind
> /usr/sbin/dump -0uf /dev/nrmt0h -d 61000 -s 114880 / >/log 2>&1
> /usr/sbin/dump -0uf /dev/nrmt0h -d 61000 -s 114880 /usr >>/log 2>&1
> /usr/sbin/dump -0uf /dev/nrmt0h -d 61000 -s 114880 /u02 >>/log 2>&1
> /usr/bin/mt -f /dev/rmt0h offline
>
> i need to restore a file from the /usr file system. when i do restore -i and
> issuse the ls command i see the root filesystem. if i try to cd to /usr, it
> lets me but i don't see any files. i must be missing something. there are
> really 3 dumps on this tape, right? how do i get to the the /usr dump?
From the restore reference page:
-s The argument that follows this modifier flag is used as the
number (1 is the origin) of the file to restore. This flag is
used to write more than one dump file from the tape.
In your restore command, if you want to restore files from /usr, you need to
specify "-s 2" to get into the /usr saveset. In the first saveset, /usr is
an empty directory, not the /usr partition.
Tom
Dr. Thomas P. Blinn, UNIX Software Group, Digital Equipment Corporation
110 Spit Brook Road, MS ZKO3-2/U20 Nashua, New Hampshire 03062-2698
Technology Partnership Engineering Phone: (603) 881-0646
Internet: tpb@zk3.dec.com Digital's Easynet: alpha::tpb
Worry kills more people than work because more people worry than work.
My favorite palindrome is: Satan, oscillate my metallic sonatas.
-- Phil Agre, pagre@ucsd.edu
Opinions expressed herein are my own, and do not necessarily represent
those of my employer or anyone else, living or dead, real or imagined.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: restore from dump
@ 1995-01-19 5:32 Shen Bing Shiung
0 siblings, 0 replies; 3+ messages in thread
From: Shen Bing Shiung @ 1995-01-19 5:32 UTC (permalink / raw)
To: tru64-unix-managers
Carl,
You have three file systems dump into one tape. You cannot just use cd /usr
from the root file system to get the files under the /usr. If you want to
restore /usr, you have to forward the tape to the second file. You can either
use:
/usr/bin/mt -f /dev/nrmt0h fsf 1 (skip the first file)
/usr/sbin/restore -i
or simply use:
/usr/sbin/restore -ifs /dev/rmt0h 2 (restore 2'nd file)
Regards
Bing Shen
Computer Systems Officer
Queensland University of Technology
On Wed, 18 Jan 1995, CARL HILLSMAN wrote:
> i have a dump of the system which was produced via the following commands:
>
> /usr/bin/mt -f /dev/rmt0h rewind
> /usr/sbin/dump -0uf /dev/nrmt0h -d 61000 -s 114880 / >/log 2>&1
> /usr/sbin/dump -0uf /dev/nrmt0h -d 61000 -s 114880 /usr >>/log 2>&1
> /usr/sbin/dump -0uf /dev/nrmt0h -d 61000 -s 114880 /u02 >>/log 2>&1
> /usr/bin/mt -f /dev/rmt0h offline
>
> i need to restore a file from the /usr file system. when i do restore -i and
> issuse the ls command i see the root filesystem. if i try to cd to /usr, it
> lets me but i don't see any files. i must be missing something. there are
> really 3 dumps on this tape, right? how do i get to the the /usr dump?
>
>
> thanks........
> carl
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-01-19 5:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-19 5:32 restore from dump Shen Bing Shiung
-- strict thread matches above, loose matches on Subject: below --
1995-01-18 16:54 Dr. Tom Blinn, 603-881-0646
1995-01-18 14:40 CARL HILLSMAN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox