HP3000-L Archives

October 2006, Week 3

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:
Ray Shahan <[log in to unmask]>
Reply To:
Ray Shahan <[log in to unmask]>
Date:
Thu, 19 Oct 2006 13:29:14 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (110 lines)
Dave,

	I may be mistaken, but you might want to replace the 'or' with
'and' in those IF statements where you're looking for <> conditions (for
example):

!IF  TS_FILES_NOT_STORED     <>  0 &
!OR  TS_DIRECTORIES_NOT_STORED   <>  0 &
!OR  TS_HFS_D_NOT_STORED         <>  0 &
!OR  TS_SYML_D_NOT_STORED        <>  0
!    ECHO ** WARNING -- NOT EVERYTHING WAS STORED **
!    SHOWVAR TS_@_NOT_STORED
!    SETVAR  X   X   + "*"



Raymond Shahan
Computer Programmer
 REPUBLIC TITLE OF TEXAS, INC.
  2701 W Plano Parkway 
Plano, TX 75075
 

direct 214.556.0202
main 972.578.8611
fax 972.424.5621
 www.republictitle.com
[log in to unmask]
 
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of Dave Powell, MMfab
Sent: Thursday, October 19, 2006 1:18 PM
To: [log in to unmask]
Subject: Re: [HP3000-L] restore

Haven't done any batch restores lately, but in our backup + verify job
the
store & verify set tons of variables.  Showvar store@ & ts@ to see what
I
mean.

I would hope the "restored" variables (see below) are also set if you
actually
restore something  :)

Following status checking from right after our verify might help you get
started, though you might want to drop the "stored" variables if all you
do is
restore.  And maybe someone can let me know if I am missing something.


!SETVAR  X   ""
!IF  STORE_ERROR <> 0    OR  STOREJCW <> 0
!    ECHO *WARNING* STORE_ERROR = !STORE_ERROR;   &
!                   STOREJCW = !STOREJCW
!    SETVAR  X   X   + "*"
!ENDIF
!IF  TS_FILES_NOT_STORED     <>  0 &
!OR  TS_DIRECTORIES_NOT_STORED   <>  0 &
!OR  TS_HFS_D_NOT_STORED         <>  0 &
!OR  TS_SYML_D_NOT_STORED        <>  0
!    ECHO ** WARNING -- NOT EVERYTHING WAS STORED **
!    SHOWVAR TS_@_NOT_STORED
!    SETVAR  X   X   + "*"
!ENDIF
!IF  TS_FILES_TO_RESTORE         <>  TS_FILES_RESTORED &
!OR  TS_FILES_FAILED_TO_RESTORE  <>  0 &
!OR  TS_HFS_D_FAILED_TO_RESTORE  <>  0 &
!OR  TS_SYML_D_FAILED_TO_RESTORE <>  0
!    ECHO ** WARNING -- NOT EVERYTHING WAS VERIFIED OK **
!    SHOWVAR TS_FILES_RESTORED,  TS_@_TO_RESTORE
!    SETVAR  X   X   + "*"
!ENDIF
!IF  TS_FILES_PARTLY_RESTORED    <>  0 &
!OR  TS_HFS_D_PART_RESTORED      <>  0 &
!OR  TS_SYML_D_PART_RESTORED     <>  0
!    ECHO ** WARNING -- SOME ITEMS ONLY PARTLY RESTORED **
!    SHOWVAR TS_@PART@
!    SETVAR  X   X   + "*"
!ENDIF

Dave Powell,    MMfab
---------------------------------------------------

----- Original Message ----- 
From: "Reggie Monroe" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Thursday, October 19, 2006 10:32
Subject: [HP3000-L] restore


We are attempting to set up a job to do a restore. We would like have it
verify that the files were all restored. Is there an error code we can
check for and what would the syntax be for that.

Regards

Reginald Monroe
Systems Engineering
Mercury Insurance - Information Technology
(714) 671-6753
[log in to unmask]

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

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

ATOM RSS1 RSS2