Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* help on backup command
@ 1994-03-24 21:30 Michel Lee
  1994-03-25 20:50 ` Brainwave Surfer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michel Lee @ 1994-03-24 21:30 UTC (permalink / raw)




    hi guys/gals,

i'd like to know how to do multi volume backup from disk to tape.
(effectively a full system backup)
i'm using vms ver 5.0.
assuming i have 3 diskdevices in my machine: (namely dka1:,dka2:,dka3:)
and a tape device name mka1:

will it be this command?->

backup/image/ignore=(interlock,label_processing)/rewind     -
    dka1:,dka2:,dka3:      mka1:myback.bck


also what will happen if the tape gets full, will vms prompt me for
new tapes?

thx in advance
mike
(i'm new in this stuff so pls bear with me)

-- 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: help on backup command
  1994-03-24 21:30 help on backup command Michel Lee
@ 1994-03-25 20:50 ` Brainwave Surfer
  1994-03-27 17:06 ` William Webb
  1994-03-28  2:05 ` Excellence is an attitude
  2 siblings, 0 replies; 4+ messages in thread
From: Brainwave Surfer @ 1994-03-25 20:50 UTC (permalink / raw)


In article <Cn6uEJ.8n3@freenet.carleton.ca>, ae299@FreeNet.Carleton.CA (Michel Lee) writes:
> 
> 
>     hi guys/gals,
> 
> i'd like to know how to do multi volume backup from disk to tape.
> (effectively a full system backup)
> i'm using vms ver 5.0.
> assuming i have 3 diskdevices in my machine: (namely dka1:,dka2:,dka3:)
> and a tape device name mka1:
> 
> will it be this command?->
> 
> backup/image/ignore=(interlock,label_processing)/rewind     -
>     dka1:,dka2:,dka3:      mka1:myback.bck
> 
> 
> also what will happen if the tape gets full, will vms prompt me for
> new tapes?
> 
> thx in advance
> mike
> (i'm new in this stuff so pls bear with me)
> 
> -- 

Nah, Use the following, AND CHECK THE MANUALS YOURSELF IN CASE I'M A CRUEL
HACKER GOING TO LAUGH AT YOU TAKING ADVICE FOR FREE AND MAKING YOU KILL
YOUR SYSTEM. Now that I've gotten that outta the way, 

I'd do the following.

BACKUP/IMAGE/IGNORE=(INTERLOCK,LABEL_PROCESSING)/verify/REWIND  DKA1:
BACKUP/IMAGE/IGNORE=(INTERLOCK,LABEL_PROCESSING)/verify         DKA2:
BACKUP/IMAGE/IGNORE=(INTERLOCK,LABEL_PROCESSING)/verify         DKA3:

The Rewind will take the tape and init it, so if you do it 3 times, 
you will save the last disk only.  In the case of multiple disks on 
the input, I don't know what will happen.

The Verify will make the thing backup and go thru it again, reading
the tape to ensure you have a good copy.  Great for those random thoughts
late at night.

And yes, it will ask you for a tape, if you have oper priv and enable yourself
as an operator, or else hang around the console and twiddle your fingers while
waiting.

I like a saveset for each disk.  No particular reason, except I've always
done it that way, and to keep things simple.  suppose you have 2 disks with
the same directory?  You may goof and stick it all on one disk.

One nice idea is to have each disk bootable, with standalone backup on each
one to make it safer in case the system disk barfs..

Jim

         /^^^\   \ /   Jim Agnew         | AGNEW@RUBY.VCU.EDU  (Internet)
        /      >  ||   Neurosurgery,     | AGNEW@VCUVAX        (Bitnet)
   /\_/     '   \  /   MCV-VCU           | This disc will self destruct in
 /________________>    Richmond, VA, USA | five seconds.  Good luck, Jim..."



^ permalink raw reply	[flat|nested] 4+ messages in thread

* help on backup command
  1994-03-24 21:30 help on backup command Michel Lee
  1994-03-25 20:50 ` Brainwave Surfer
@ 1994-03-27 17:06 ` William Webb
  1994-03-28  2:05 ` Excellence is an attitude
  2 siblings, 0 replies; 4+ messages in thread
From: William Webb @ 1994-03-27 17:06 UTC (permalink / raw)


ML-->>hi guys/gals,

ML-->>i'd like to know how to do multi volume backup from disk to tape.
-->>(effectively a full system backup)
-->>i'm using vms ver 5.0.

I've got a fairly good DCL routine written that I use nightly to back up
5 disks onto one 8MM.

It starts with inquiry screens asking you what disks you want to back
up, and what tapes you want to back up to (I have 2 8mm's and 1 TK50)
It asks if you want the backup to be verified, if you want to use the
/LIST option (to print out what got backed up) and if you want session
logging (Using 3rd party software)

It initializes and labels the tape(s) DDMMM with day/month of system
date, backs up the drives specified, keeping track of the times required
to back up each drive, and reports total time required to do the backup.

It then remounts the tape FILES-11 and does a directory/siz/date on the
tape to confirm that there are indeed 5 savesets there.

Lastly, it sends E-mail containing start times, completion times and
tape directory information to my system manager and myself to let us
know that the backup process complete.

I originally wrote this when we were running VMS 5.3 and rewrote when we
upgraded to 5.5-2H4 so there might be some stuff in it you would have to
change, but you're welcome to a listing of it.  It would be a bit
lengthy to post on the net, though.

William W. Webb
Systems Analyst
Bank South Trust Systems
P.O. Box 4956
Atlanta, GA 30302


* OLX 2.1 * ---      There's ALWAYS one more bug!      ---

----
*****************************************************************************
**     Prime Time On-Line       Atlanta's Source for FULL INTERNET         **
**   1200-28.8  404-667-3084    FTP/TELNET/GOPHER  4.0 Gig On-Line         **
*****************************************************************************


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: help on backup command
  1994-03-24 21:30 help on backup command Michel Lee
  1994-03-25 20:50 ` Brainwave Surfer
  1994-03-27 17:06 ` William Webb
@ 1994-03-28  2:05 ` Excellence is an attitude
  2 siblings, 0 replies; 4+ messages in thread
From: Excellence is an attitude @ 1994-03-28  2:05 UTC (permalink / raw)


   In article <Cn6uEJ.8n3@freenet.carleton.ca>, ae299@FreeNet.Carleton.CA (Michel Lee) writes:
> 
> 
> i'd like to know how to do multi volume backup from disk to tape.
> (effectively a full system backup)
> i'm using vms ver 5.0.
> assuming i have 3 diskdevices in my machine: (namely dka1:,dka2:,dka3:)
> and a tape device name mka1:
> 
> will it be this command?->
> 
> backup/image/ignore=(interlock,label_processing)/rewind     -
>     dka1:,dka2:,dka3:      mka1:myback.bck
> 
   There are two reasons you would not wish to issue the above command.

   First, it is invalid as you cannot have a list of devices for /IMAGE and
   there is no /SAVE_SET qualifier on the saveset.

   Second, (as if it matters :-) you would have all the data in a single
   saveset so should you need to restore a disk you would have a real pain to
   restore.

   I suggest doing the following command:

   $ BACKUP/IMAGE/IGNORE=(INTERLOCK,LABEL_PROCESSING)/VERIFY -
   	<dev>: MKA1:IMG<dev>.BCK/SAVE_SET

   Where you substitute the device name for <dev>.

   Note that in addition to adding the /SAVE_SET qualifier, I also added the
   /VERIFY qualifier.  This is a case of being paranoid but my view is the
   added time of reading the 'saved' data and being sure the tape is sane is
   worth it.  All it takes is one bad tape to ruin your whole day, especially
   if you don't discover it was bad until head crash day.

   Another minor nit is that using IGNORE LABEL_PROCESSING can bite you.  Using
   this means you are SURE you have the right volume mounted in the drive.

>  
> also what will happen if the tape gets full, will vms prompt me for
> new tapes? 
> 

   The BACKUP utility will prompt you and anyone with TAPE operator enabled on
   their terminal when it wishes another tape.  It expects the label to be the
   next tape label in sequence and if not you will be prompted as to whether
   you wish to Retry, Abort, or Overwrite the tape loaded as the next volume.

   There is extensive help for BACKUP.  Just do HELP BACKUP and you will
   receive a great deal of information including many examples.

   Have fun,
   don


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-03-28  2:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-24 21:30 help on backup command Michel Lee
1994-03-25 20:50 ` Brainwave Surfer
1994-03-27 17:06 ` William Webb
1994-03-28  2:05 ` Excellence is an attitude

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