Q

Automate the process of full-system backup

I am trying to automate the process of full-system backup. We have a Magstar unit with only one drive. I am finding out what to use an API to know if we have some "message waiting jobs", to be able to submit the job, but, besides, we need to work in a restricted situation, Is possible to submit the job under the QCTL subsystem?

You need to run you backup in a restrictive state because you are probably running a SAVSYS or a SAVLIB LIB(*NONSYS) command. These processes can only be run from the system console while the system is in a restricted state. They can't be submitted to batch in the QCTL subsystem.

The BRMS/400 product -- along with a few other 3rd party backup packages -- have a feature where the SAVSYS process can be run unattended. It still requires that it be run from the system console in a restrictive state. The bottom line is you can't submit a process to subsystem QCTL while the system is in a restrictive state.

Maybe someday IBM will redesign the IPL process to allow the SAVSYS process to run during an IPL. Wouldn't it be nice if you could do something like this:

PWRDWNSYS OPTION(*IMMED) RESTART(*YES) SAVSYS(*YES) SAVEXIT(Exit_Pgm1)

The system would be powered down, restarted, perform a system save while in a restrictive state and then run an exit program that would either restart the system or continue the backup process.... Well, we can dream, can't we?


This was first published in June 2004

Dig deeper on Backup and recovery software

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchSolidStateStorage

SearchVirtualStorage

SearchCloudStorage

SearchDisasterRecovery

SearchStorage

SearchITChannel

Close