Backing up the OS

From: Steve March <Steve.March_at_Airgas.com>
Date: Thu, 05 Apr 2001 17:19:18 -0400

Can anyone validate the following way I back up the OS? I have a Alpha 4100
running Digital UNIX 4.0E.

Each Sunday morning I vdump the root directory (/) and the usr directory
(/usr) one after the other on 1 tape using the no-rewind device name. Here
is part of my script:

----------------------------------------------------
# load first tape for vdump
 
robot load slot 5 drive 0 2>> /tmp/weekendback.log
sleep 180

# vdump root /usr to tape
 
/sbin/vdump -0 -f /dev/nrmt0h / >> /tmp/weekendback.log 2>>
/tmp/weekendback.log
/bin/date >> /tmp/weekendback.log
/sbin/vdump -0 -f /dev/nrmt0h /usr >> /tmp/weekendback.log 2>>
/tmp/weekendback.log
/bin/date >> /tmp/weekendback.log

# Eject tape

sleep 120
robot home drive 0 2>> /tmp/weekendback.log
-----------------------------------------------------

Can I vdump 2 separate file systems onto 1 tape like this?
Does anyone know the vrestore commands I would use to restore these
filesystems from tape?
Is this a good method to back up the OS?


Thank you,
Steve March
Airgas, Inc.
e-mail: Steve.March_at_airgas.com
Received on Thu Apr 05 2001 - 21:20:51 NZST

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