Backup and Restore Problem

From: Peter Chiu DRAL SSD EODG Computer Section \ <pcmc_at_gdf.rl.ac.uk>
Date: Mon, 9 Jan 1995 18:13:01 GMT

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
Received on Mon Jan 09 1995 - 13:22:19 NZDT

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