tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: pcmc () gdf ! rl ! ac ! uk (Peter Chiu DRAL SSD EODG Computer Section \(Tel
To: tru64-unix-managers
Subject: Backup and Restore Problem
Date: Mon, 09 Jan 1995 18:13:01 +0000	[thread overview]
Message-ID: <96075316706388.tru64-unix-managers.marc@archive.invalid> (raw)

Hi,

I am trying to following the instructions given in the OSF/1 V2.0
system administrator manual to back up the file systems "/" and "/usr"
and then restore it to a different Alpha, but came across some
problems.  I suspect there is something missing somewhere.

Basically, on an Alpha 3000/300lx, I backed up the file systems
as follow:

1. shutdown in standalone mode:  /sbin/shutdown now

2. check all disks are not mounted: /sbin/umount -a

3. /sbin/fsck -o /dev/rz3a

4. dump -0uf /dev/nrmt0h /

   It completed in 3 minutes.

5. dump -0uf /dev/nrmt0h /usr

   It took 20 minutes.

At the end, I rewound the tape, and did a restore -t
it read out the tape header (no tape label, but did indicates the dump 
on /dev/rz3a), and then displayed the files under the / directory.

Now then I tried to restore the file contents onto another Alpha
(3000/300) as follow:
a. boot off the system from the OSF/1 CD 
b. MAKEDEV /dev/rz2  ! build a system onto an external SCSI disk, unit 2.
c. disklabel -rw /dev/rrz2 ufs
   disklabel -re /dev/rrz2 

   and set the partitions as:  a: 400000 0         ! for /
                               b: 400000  400000   ! for swap
                               c:4194685 0
                               d:      0 0
                               e: 370000 3800000   ! for /data
                               f:1500000 2300000   ! for /home/mod6
                               g:1500000  800000   ! for /usr
d. newfs /dev/rrz2a
e. mount /dev/rz2a /mnt
f. cd /mnt

No errors so far.

g. restore -Yrf /dev/nrmt0h
   then I get the error:
   
   cannot stat dump file: No such file or directory

No file is restored.

I also tried restore -Yrf /dev/rmt0h but get the same error.

Is anyone has any idea?

Many thanks in advance.

Regards,
Peter Chiu

             reply	other threads:[~1995-01-09 18:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-01-09 18:13 pcmc [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-01-09 19:35 Backup and Restore Problem speno
1995-01-10  8:55 kobig
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