Restoring $STDLIST And Report Files For JobRescue And ElectroPage From A Backup

 

JobRescue and ElectroPage store their files in the POSIX directory.  There are ten directories that are used, those being /NSD/files0 thru /NSD/files9.  Note that the POSIX directory and file names are case-sensitive.

 

All files stored by JobRescue and ElectroPage are uniquely named, and there should never be a problem with overwriting files during a restore.

 

This procedure assumes that you are using the standard MPE STORE commands for your backups and restores.  If you are using a different product then you will need to adjust your syntax accordingly.

 

Additionally, this procedure assumes that you are restoring all of the files on the backup.

 

You will need to determine if you are storing these files on the system volume set or on a user volume set.  Generally, if you have a group named USERVOL.NSD then you are using a user volume set.  The USERVOL group is not normally created when the system volume set is used.  You need to know which storage area is used as the pathnames of the files on the backup are different.

 

To restore files from a previously created backup perform the following steps:

 

q    Sign on as MGR.NSD,PUB

 

q    Stop the JobPak job with the command:

 

            JPAKCOM.JPAK  STOP

 

q    Restore the files into the POSIX directories under the  /NSD root directory

 

To restore both $STDLISTs and reports:

 

            If you are using the system volume set:

 

                        RESTORE  ;  /NSD/files#/@ ; SHOW

 

            If you are using a user volume set:

 

                        RESTORE ;   /NSD/USERVOL/files#/@ ; SHOW

 

To restore $STDLISTs only:

 

            If you are using the system volume set:

 

                        RESTORE  ;  /NSD/files#/A@ ; SHOW

 

            If you are using a user volume set:

 

                        RESTORE  ;  /NSD/USERVOL/files#/A@ ; SHOW

 

To restore reports only:

 

            If you are using the system volume set:

 

                        RESTORE  ;  /NSD/files#/R@ ; SHOW

 

            If you are using a user volume set:

 

                        RESTORE  ;  /NSD/USERVOL/files#/R@ ; SHOW

 

 

q    Purge the JOBDATA.PUB file

 

PURGE JOBDATA.PUB.NSD

 

q    Rebuild the JOBDATA file

 

RJOBDATA.JPAK

 

            This program may run for several minutes.

 

q    Rebuild the Log information for the status program

 

MERGEDIT.JPAK.NSD “-rebuild 0000”

           

You can replace the 0000 with the 24-hour time that your STATUS logs switch over.  You can re-execute the MERGEDIT command as many times as you wish until you get it right.

 

q    If you are using JobPak 6.1F, rebuild the log beginning and end records

 

MERGEDIT.JPAK.NSD  -logbe

 

 

You should now have access to your restored data via the STATUS program, as well as be able to restart the JobPak job.

 

Remember, if you do not change your configuration to increase the number of days for saving $STDLISTs and/or the reports, the information you restored will be deleted at the next Retention Management Cycle.

 

If you have any questions, please contact Nobix support at support@nobix.com, or (800) 538-3818, or (925) 659-3500.

 

If you need after hours support, call (925) 659-3500, transfer to extension 160 and leave a detailed message.  We will call you right back, unless of course you don’t leave your phone number.  Yes, we have gotten calls in the middle of the night with detailed messages about very urgent problems, but no name or phone number.