Re: restore from dump

From: Shen Bing Shiung <b.shen_at_qut.edu.au>
Date: Thu, 19 Jan 1995 15:32:59 +1000 (EST)

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
>
Received on Thu Jan 19 1995 - 00:31:56 NZDT

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