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:
"Dave Powell, MMfab" <[log in to unmask]>
Reply To:
Dave Powell, MMfab
Date:
Thu, 19 Oct 2006 11:18:09 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (67 lines)
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 *

ATOM RSS1 RSS2