From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075316706528.tru64-unix-managers.marc@archive.invalid> From: "Dr. Tom Blinn, 603-881-0646" Date: Wed, 18 Jan 1995 16:54:29 +0000 To: tru64-unix-managers Subject: Re: restore from dump X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075316706528 > 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.