Re: restore from dump

From: Dr. Tom Blinn, 603-881-0646 <tpb_at_zk3.dec.com>
Date: Wed, 18 Jan 95 11:54:29 -0500

> 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_at_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_at_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.
 
Received on Wed Jan 18 1995 - 11:56:04 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT