Manage Learn to apply best practices and optimize your operations.


I am told that I might as well not even bother trying to save QUSRSYS library when the system is not in a restricted state. I understand that this is one of the main problems if you must start from zero. Is there a way around this other than a full save or taking the system to a restricted state?

I successfully save library QUSRSYS every night, without bringing my system to a restrictive state. However, I do quiesce the system for a few minutes in order to remove locks from the objects in this library.

By "quiesce" I mean, bring the system down to the point where system objects can be saved, but not all the way to a restrictive state... There is a very important difference between quiesced and restrictive states too. If I don't have to go into a restrictive state, I can still run my backup process as an unattended batch job.

Prior to starting my unattended backup process, I end the following subsystems:


I then end the Mail Server Framework via the ENDMSF command.

I'm now in what I call a "quiesced state".... Note, my backup process is still running in the QBATCH subsystem.

I then backup the following libraries: QUSRSYS and QGPL...

I then start up my Save_While_Active backup process against my production application libraries and when the synchronization check point is reached, I restart all the subsystem I had ended earlier and also restart the Mail Server Framework using the STRMSF command. My backups continue while users have full access to the production applications.

Total down time, about 15 minutes. Most of that time being used to set up the Save_While_Active backup.

The system is unavailable to users for a brief time. However, we have convinced them of how important a complete backup is. Giving up 15 minutes a night, at 2AM, was considered a small price to pay for being able to completely recover our system in the event of a total system loss.

All in all, a WIN, WIN solution.

Dig Deeper on Data backup, storage and retrieval on iSeries