tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Dr. Tom Blinn, 603-881-0646" <tpb () zk3 ! dec ! com>
To: tru64-unix-managers
Subject: Re: restore from dump
Date: Wed, 18 Jan 1995 16:54:29 +0000	[thread overview]
Message-ID: <96075316706528.tru64-unix-managers.marc@archive.invalid> (raw)


> 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.
 

             reply	other threads:[~1995-01-18 16:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-01-18 16:54 Dr. Tom Blinn, 603-881-0646 [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-01-19  5:32 restore from dump Shen Bing Shiung
1995-01-18 14:40 CARL HILLSMAN
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