tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: Backing up the OS
@ 2001-04-10 15:08 Steve March
  0 siblings, 0 replies; only message in thread
From: Steve March @ 2001-04-10 15:08 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks to everyone who responded. The bottom line is that my method will
work and I should use the '-N' option with the vdump so it doesn't rewind
and the mt command to position the tape for restores.

Thanks,
Steve March
Airgas, Inc.
e-mail:	Steve.March@airgas.com


-----Original Message-----
From: gary.phipps@bt.com [mailto:gary.phipps@bt.com]
Sent: Monday, April 09, 2001 3:32 AM
To: Steve March
Subject: RE: Backing up the OS


Steve,

looks fine to me. I don't know the robot command, but the concept is fine.

To restore from the 2nd dump, you simply issue the command

mt -f /dev/nemr0h fsf 1

to jump forward one 'save'.

HTH

--
Gary Phipps
Unix Systems Manager
BT Group Finance
ph: 0121 230 4204
e: gary.phipps@bt.com


-----Original Message-----
From: Steve March [mailto:Steve.March@Airgas.com]
Sent: Thursday, April 05, 2001 22:19
To: tru64-unix-managers@ornl.gov
Subject: Backing up the OS


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@airgas.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-10 15:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-10 15:08 Summary: Backing up the OS Steve March

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox