HP3000-L Archives

January 2010, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dave Vogt <[log in to unmask]>
Reply To:
Dave Vogt <[log in to unmask]>
Date:
Sun, 3 Jan 2010 03:19:44 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (362 lines)
Having lost a disc drive the day before Christmas eve I said to myself fine, I am
ok, but when I receveived some help to replace it, I was asked to do a HP 
restore 
with the directory option, and then restore the files.  No problem I said to 
myself
but the darn restore told me there was no directory on the tape.

Talk about a sinking feeling.

I'll still call Orbit about this, but here is the jobstream I use, and then I do a 
dump to tape afterwords.  Jobstream of the dump to tape follows.

If that disc would have been LDEV 1, I would have had more than a sinking 
feeling
in me.  But, when we get this fully documented on the LISTSERV, people out 
here
will not have to worry about it anymore unless somebody pulls the plug on the 
internet. :)

The COMPRESSION=3 was added by me today because of a previous post that 
I ran
out of disc space, which I will be addressing this week.  I had it set to 1
prior to this post.  But that is not the issue here.

I did not have a directory on the tape to recreate the drive which in my mind
the most important part of this post.

Put your posts on the List, don't send me a email, so everybody out here 
knows 
how to address this issue.

I want to make sure I have a directory on the full backup tape, which I thought
was there, and it wasn't.  Any help would be great.

Thanks a million

dave




!JOB DUMP,OPERATOR.SYS;OUTCLASS=300;PRI=CS;INPRI=2;spsave
!COMMENT
!COMMENT MODIFIED: 02-01-96  MJB
!COMMENT  PURPOSE: CHANGE INPRI FROM 1 TO 2 AND ADD LIMIT 0,50
!COMMENT
!COMMENT MODIFIED: 03-04-96  MJB
!COMMENT  PURPOSE: CHANGE BACK TO BACK.PUB.SCOP
!COMMENT
!COMMENT MODIFIED: 7-31-96 BY STB
!COMMENT  PURPOSE: REMOVE LIMIT SETTING 0,50
!COMMENT
!comment Modified by Dave Vogt  10/5/98
!comment changed to do a full backup nightly with a directory option.
!comment Why?  Because we have time!!!
!comment
!comment Modified by Dave Vogt 11/3/98
!comment Run TAPECTRL.PUB.ORBIT and did SHOWDEV 7.  Tape kept hanging
!comment after the LOADTAPE program was run for no appearent reason.
!comment Will try the TAPECTRL program to see if this solves it.
!comment
!comment Modified by Dave Vogt 11/20/98
!comment Changed the outclass from LP,1 to LP99.  The stdlist was not
!comment being purged on a nightly basis.
!comment Modified by Dave Vogt 3/22/99
!comment Added a LISTSPF o@;detail before the backup.  Will allow
!comment us to track lost spoolfiles easier.
!comment
!comment Changed by Dave 5/6/04
!comment Send the spoolfile listing and fulllst to ldev 300 to save
!comment so I can find information on files being stored.
!comment 
***********************************************************
******
!COMMENT  BZ  8/15/05  added stop and start of Conman so CCC account will
!COMMENT     be backed up
!comment Dave 8/16/05 add stop of Sleeper at beginning of backup
!comment then restream of sleeper and restart of Vsoft for same reason
!comment above.
!
!
!ALLOWME.PUB.ORBIT
!FILE SPOOLLST;DEV=300,12;SPSAVE
!LISTF @.LOGGING.SYS,2
!LISTF [log in to unmask],2
!LISTSPF O@;DETAIL >*SPOOLLST
!
!LIMIT 0
!RUN CONMAN.SPOOL.CCC;INFO="STOP"
!PAUSE 45
!SETVAR STOPPED "NO"
!MPEX
WHILE STOPPED = "NO"
IF JSCOUNT('SPOOLMAN,SPOOL.CCC') = 0 THEN
SETVAR STOPPED "YES"
ELSE
PAUSE 30
ENDIF
ENDWHILE
EXIT
!
!comment Added abort of sleeper to make sure we get sleeper stuff
!comment backed by.  We will restart sleeper at the end of the
!comment dump ... Dave 8/16/05
!CONTINUE
!ABORTJOB SLEEPER,SLEEPER.SYS
!PAUSE 30
!
!SHOWTIME
!SHOWJOB
!
!FILE SYSLIST=FULLLST;DEV=300,12;SPSAVE
!RUN BACKUPPL.PUB.ORBIT
PURGE FULL.BACKUP.SYS
STORE !FULLFULL.BACKUP.ORBIT;FULL.BACKUP.SYS;COMPRESS=3;&
       AUTOREPLY=7;&
       DBSTORE;&
       SETDATE;&
       SHOW=LONG,DATES;&
       MAXRETRIES=100;&
       MAXERRORS = 10;&
       PROGRESS=10;&
       NOLOCK;DIRECTORY
 EXIT
!LISTF [log in to unmask],2
!SWITCHLOG
!SWITCHNMLOG
!SHOWJOB
!SHOWOUT
!RUN CONMAN.SPOOL.CCC;INFO="START"
!PAUSE 30
!SETVAR STARTED "NO"
!MPEX
WHILE STARTED = "NO"
IF JSCOUNT('SPOOLMAN,SPOOL.CCC') = 0 THEN
PAUSE 15
ELSE
SETVAR STARTED "YES"
ENDIF
ENDWHILE
EXIT
!DELETEVAR STOPPED
!DELETEVAR STARTED
!
!STREAM SLEEPERJ.SLEEPSTG.SYS
!PAUSE 30
!
!comment Restart of BACKG added to end of DUMP by Dave 8/16/05
!comment Vesoft files were not getting backed up because they were
!comment being accessed.
!RUN MAIN.PUB.VESOFT;PARM=1;INFO="BACKG STARTJOB"
!LIMIT 6,0
!PAUSE 30
!SHOWJOB
!comment end of BACKG comments.
!comment
!EOJ
:
!JOB JSU9548,MANAGER.SYS;OUTCLASS=LP4,10;INPRI=1;PRI=CS
!COMMENT 
*****************************************************
!COMMENT 
*****************************************************
!COMMENT ********************   JSU9548  ********************
!COMMENT 
*****************************************************
!COMMENT *** USE THIS JOB TO STORE FULL.BACKUP.SYS        ****
!COMMENT ***   TO TAPE ON DEV 7. FULL.BACKUP WAS CREATED  ****
!COMMENT ***   BY DUMP.JOB.SCOP.                          ****
!COMMENT
!COMMENT Created by Dave Vogt  9/20/99
!COMMENT
!comment Modified by Dave Vogt  3/6/00
!comment Modified job to run in the CS queue and added a stream
!comment to job JSU9552 which will validate the tape.
!COMMENT 
*****************************************************
!ALLOWME.PUB.ORBIT
!FILE AT;DEV=AUTO
!DEVCTRL.MPEXL.TELESUP 7 COMPRESSION=ENABLE
!RUN TAPECTRL.PUB.ORBIT;INFO="O,7"
!SHOWDEV 7
!PAUSE 240
!SHOWDEV 7
!BPL
 DUMP FULL.BACKUP.SYS;*AT;SHOW;PROGRESS=5
EXIT
!
!TELLOP;***************************************************
!TELLOP;* Streaming the tape validate job now!!           *
!TELLOP;***************************************************
!
!STREAM JSU9562.JOB.SCOP
!EOJ

!JOB JSU9562,OPERATOR/.SYS;OUTCLASS=LP4,10;HIPRI;PRI=CS
!
!RUN TAPECTRL.PUB.ORBIT;INFO="O,7"
!PAUSE 60
!DELETEVAR @
!FILE TVERIFY=TVERIFY;DEV=AUTO
!TELLOP;
!TELLOP;Tape verification is beginning.
!TELLOP;
!
! CMDX.PUB.ORBIT,1 < SETUP.PUB.ORBIT
!*CMDX,4
 SetVar Job_Ver,            "09-3.00.12"
{{------------------  V E R I F Y   B A C K U P +  ------------------
{
{ VERIFYJ - This JOB stream is for verifying backups, i.e., that all
{           blocks on the tape are readable and that structure of the
{           backup is correct.
{
{ Note: If passwords for the user (MANAGER) or account (SYS) are
{       needed, they should be added after the backslash on the JOB
{       command above.
{
{ Note: DAT (DDS Configured) drives do NOT report retries, and most
{       tape errors.  Therefore it is STRONGLY recommended that a
{       tape verify be done after every backup.  Regardless of the
{       backup device used, a verify of backups should be done
{       periodically, especially before critical system events (like
{       an INSTALL), to determine if the backup software and hardware
{       are working together properly.
{{
{{ For additional features or more information, please refer to your
{{ BACKUP+/iX Reference Manual, or call ORBiT Software for 24 hour
{{ technical support at 1-800-89-ORBiT (toll-free in the U.S. and
{{ Canada) or 925-837-4143.
{{
{{-------------------------------------------------------------------

 SETJCW Verify1stVolume = 1
 SETVAR TapeClass,"TAPE"
 SETJCW UseVerify = Yes
{SETJCW BackupVolumes = 0
{SETJCW BackupNoNMStore = Yes
{SETJCW VerifyPrintFileInfo = Yes
{SETJCW VerifyTerminateIO = No
{SETJCW VerifyLoadPause = 10
(47/161) Continue? 
{SETJCW VerifyNMStoreLimit = 9000

{The following JCWs are required for some vendor's 8mm/DLT drives
{SETJCW BackupNoSSM = Yes

{FILE CONTROL =CONTROL ;SAVE
{FILE LDEVLIST=LDEVLIST;SAVE
{FILE DIRSTATS=DIRSTATS;SAVE
{FILE DOFILE  =DOFILE  ;SAVE
{PURGE CONTROL
{PURGE LDEVLIST
{PURGE DIRSTATS
{PURGE DOFILE

 SHOWVAR CIError,JCW
 SHOWVAR
 LISTEQ


 IF UseVerify = Yes THEN
    TELLOP ******************VERIFY*******************
    TELLOP * REMOUNT TAPE ?Verify1stVolume.  Will do a tape verify
    TELLOP * using the VERIFY program to check tapes.
    TELLOP *******************************************
    TELL GTH,MGR.SCOP "!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
    TELL GTH,MGR.SCOP " REMOUNT VOLUME 1 BKUP TAPE "
    TELL GTH,MGR.SCOP "!!!!!!!!!!!!!!!!!!!!!!!!!!!!"

    CONTINUE
    XEQ *VERIFY
    VERIFY &
       *TVerify;&
        DRIVES=1;&
       {LOADTAPE=7;}&
       {AUTOREPLY=7;}&
        PROGRESS=5;&
       {RETRIES=0;}ERRORS=0;&
        ON VOLUME DO "Echo Volume Change at !HPDATEF !HPTIMEF";&
        ON ERROR  DO "Echo Tape Error at !HPDATEF !HPTIMEF";&
        ON RETRY  DO "Echo Tape Retry at !HPDATEF !HPTIMEF"
    EXIT
 ELSE
    TELLOP ******************VERIFY*******************
    TELLOP * REMOUNT TAPE ?Verify1stVolume.  Will do a tape verify
    TELLOP * using READALL to check tapes.
    TELLOP *******************************************
    TELL GTH,MGR.SCOP "!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
    TELL GTH,MGR.SCOP " REMOUNT VOLUME 1 BKUP TAPE "
    TELL GTH,MGR.SCOP "!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
    SETJCW VerifyRetries = 0 {READALL does not set this JCW
    SETJCW VerifyErrors  = 0 {READALL does not set this JCW

    CONTINUE
   {XEQ *LoadTape 7
    PAUSE 25

    CONTINUE
    XEQ *READALL
    READALL &
       *TVerify{;AUTOREPLY=7}
    EXIT
    ENDIF
 IF     JCW <> 0 OR StoreJCW <> 0 OR CIError <> 0 THEN
    TELLOP ******************VERIFY*******************
    TELLOP * Backup+ Verify FAILED!  Check listing
    TELLOP * JCW      = ?JCW
    TELLOP * StoreJCW = ?StoreJCW
    TELLOP * CIError  = ?CIError
    TELLOP * Volumes  = ?BackupVolumes
    TELLOP * Retries  = ?VerifyRetries
    TELLOP *    Volume: ?VerifyRetriesTape
    TELLOP *    LDev  : ?VerifyRetriesLDev
    TELLOP * Errors   = ?VerifyErrors
    TELLOP *    Volume: ?VerifyErrorsTape
    TELLOP *    LDev  : ?VerifyErrorsLDev
    TELLOP *******************************************
    TELL GTH,MGR.SCOP "!!!!!!!!!!!!!!!!!!!"
    TELL GTH,MGR.SCOP " BACKUP HAS FAILED  "
    TELL GTH,MGR.SCOP "!!!!!!!!!!!!!!!!!!!"
 ELSEIF VerifyRetries > 0 OR VerifyErrors > 0 THEN
    TELLOP ******************VERIFY*******************
    TELLOP * Backup+ Verify is QUESTIONABLE!
    TELLOP * Volumes  = ?BackupVolumes
    TELLOP * Retries  = ?VerifyRetries
    TELLOP *    Volume: ?VerifyRetriesTape
    TELLOP *    LDev  : ?VerifyRetriesLDev
    TELLOP * Errors   = ?VerifyErrors
    TELLOP *    Volume: ?VerifyErrorsTape
    TELLOP *    LDev  : ?VerifyErrorsLDev
    TELLOP *******************************************
    TELL GTH,MGR.SCOP "!!!!!!!!!!!!!!!!!!!!!"
    TELL GTH,MGR.SCOP " BACKUP QUESTIONABLE "
    TELL GTH,MGR.SCOP "!!!!!!!!!!!!!!!!!!!!!"
 ELSE
    TELLOP ******************VERIFY*******************
    TELLOP *        Backup+ Verify is CLEAN!
    TELLOP *******************************************
    TELL GTH,MGR.SCOP "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
    TELL GTH,MGR.SCOP " BACKUP IS VERIFIED AND FINISHED "
    TELL GTH,MGR.SCOP "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
    ENDIF

 SHOWVAR CIError,JCW
 SHOWVAR
{XEQ *EjectDat 7
!IF HPDAY = 6
!  TELLOP *******************************************
!  TELLOP ITS FRIDAY!!!!
!  TELLOP KEEP TAPE MOUNTED IN 7!!!!
!  TELLOP WILL STREAM JSU9574 TO VERIFY RESTORABILITY
!  TELLOP OF BACKUP TAPE TO ACCOUNT SCRAP.....
!  TELLOP *******************************************
!  STREAM JSU9574.JOB.SCOP
!ENDIF
!EOJ
:

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2