Hi all, Sorry I´ve never worked with System i, but now, I have to work with for a few month, until the system will be migrated.
I only need to check daily backups and i can´t find the job making backups. I checked last backup date for some custom libraries, they´re OK, backup is running on daily basics at 9:00 PM, but I am not sure if all objects are included or even all objects are backed up.
How can i find backup "job" (if that´s the name for)? Is there some log out there?
Thanks a lot.
QSECOFR 100000QNP855 Posts
Re: Backup schedule2011-06-27T14:43:38ZThis is the accepted answer. This is the accepted answer.Hi Johnny99,
There are several different ways that backups can be submitted, so there are more than one spots to check depending on what "application" is being used.
The most common way to submit is through Job Scheduler (WRKJOBSCDE) or through 3rd party Robot (RBO). Search for the jobs at 21:00 and check the details which should tell you the command to be submitted and/or the job name/user. From here you can determine what type of job such as native OS, OA Backup, BRMS, Robot, etc...
The following are common of the different type of backups:
BRMS - STRBKUBRM or anything ending in xxxxxxbrm. Control groups accessed through WRKCTLGBRM
OA Backup - Backup jobs usually start with QEZBK*. Menu is accessed through GO BACKUP.
Native OS or CL - Commands will generally be SAVxxx or will be CALL PGM(xxxxx)
To look for the specific job, you could search the history log for a message about the backup job starting or objects being saved. Then, put your cursor on that message and press F1 and then F9 which will give you the job, user, and number. Write these down or copy them and then issue the WRKJOB JOB(number/user/name) and then select option 4 to work with the spooled files and then 5 to display QPJOBLOG.
Note: IBM Knowledgebase document 387819982 has some good message id's that you can put in the DSPLOG command if you F10 and page down to enter them.
- Find the job/application and it will be easier to know what to look for in the set up.
Johnny99 270002KS6S2 Posts
Re: Backup schedule2011-06-30T13:22:48ZThis is the accepted answer. This is the accepted answer.
- QSECOFR 100000QNP8
INZTAP DEV(TAP01) NEWVOL( A_NAME ) NEWOWNID( A_NAME ) +
SAVLIB LIB( LIB_NAME1 LIB_NAME2 ) DEV(TAP01)
I found some messages too, we need to clean the tape drive (OK, I on charge of this ;-) at the end 2 libraries copied with no errors , so it´s fine I think, but:
1. This is the only backup job, so we are only backing up custom data and custom program ( LIB_NAME1 and LIB_NAME2 ) but we don´t have a complete backup. I think it´s higly recommended, is it?
2. I can´t find the spooled file of the job, on the job (wrkjobscde) option 8 ("see spooled file of last job submitted" or something like that, sorry my host is in spanish) doesn´t work, "no file xx/xx/xx found" ???
QSECOFR 100000QNP855 Posts
Re: Backup schedule2011-07-08T15:11:10ZThis is the accepted answer. This is the accepted answer.
- Johnny99 270002KS6S
2. If the job completes normally, the system doesn't keep the joblog unless the logging level is set high enough (maximum is 4 00 *SECLVL with LOGCLPGM as *YES). Logging level is defined in the job description unless it is specified such as in a SBMJOB or CHGJOB command.