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:
QINTER, QSPL, QHTTPSVR, QSNADS, QSVCDRCTR, QSERVER and QUSRWRK.
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
Related Q&A from Ken Graap
Find out if log files can be omitted during a save without causing problems in a full restore. Continue Reading
The BRMS Network feature allows a BRMS system to connect to other BRMS systems via a network, and enables a user to consolidate media such as backup ... Continue Reading
The only option to correct damage preventing file journaling is to use the RCLSTG command. Continue Reading