Q
Manage Learn to apply best practices and optimize your operations.

Run SAVSYS backup in a restrictive state to prevent errors

I want to make a full iSeries 400 system backup. I'm submitting a CL containing the following commands:

ENDTCP
ENDSBS
SAVSYS

When I submit this CL through Scheduler. I'm getting an error at ENDSBS. This is because CL is being running in QBATCH, this itself is a subsystem.

Does it require special authority or something else? How should I proceed?


You need to run your SAVSYS backup in a restrictive state (ENDSBS *ALL) and from the system console. It cannot be submitted to a batch subsystem.

I only run SAVSYS once a month along with a full IPL of the system, in order to apply *DELAYED PTF's. This monthly SAVE process is an "attended" event. However, the operator who runs it is usually onsite for only about two hours as the system IPL's, and the SAVSYS command runs. If there are any issues, someone is there to attend to them immediately too.

There are a few third-party backup packages out that have a feature where the SAVSYS process can be run unattended, but 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 any subsystem while the system is in a restrictive state -- that is why your CL doesn't work.

Don't forget to run the SAVLIB, SAVDLO and SAV commands too. SAVSYS only backups the operating system , license internal code and security information. You will need to run the SAVLIB command to backup data in libraries, the SAVDLO command to save data in the QDLS file system and the SAV command to backup data in the IFS. Full backup implementation details can be found in the OS/400 Backup and Recovery Manual, SC41-5304.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Ask the Experts yourself: Our Backup & Recovery gurus are waiting to answer your questions.

Search400's targeted search engine: Get relevant information on backup & recovery.

Check out this search400 Featured Topic on Backup & Recovery.


Dig Deeper on Data backup, storage and retrieval on iSeries

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.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close