Backing up IBMi (AS/400) Libraries in Consistent State.

Article ID: 54352

Article Type: Best Practices

Last Modified:

A library (*LIB) on the AS/400 is an object used as a system directory to keep track of other objects.  AS/400 uses an object called the library list (*.LIBL) broken up into three portions – System, Product, and User. The system portion can hold up to 15 library names. The default contents of the system portion are specified in the QSYSLIBL system variable.

The system portion of the library list is backed up with DR-Subclient.  These libraries are put into restricted state in order to take a consistent backup.

Backing up libraries in the Product or User portion of *LIBL does not necessarily put the system into restricted state.

There are few option customer can use to make sure of data consistency.

This is simplest option. The pre/post command can be used to suspend/resume application(s).

Save While Active is a subclient Advanced Properties tab/option. Each library defined in the subclient conent will be backed up independently and within its consistent state.

**Note:**SYNCLIB option only appears when Custom subclient content is selected.

With *SYNCLIB option, the group of libraries defined in the subclient content tab are synchronized to reach a consistent state during this backup option.

If required, associated application can be stopped for short period of time to reach consistent state and resumed immediately.

Use the PreBackup Process command to stop/suspend the application.

Use the PostBackup Process to start/resume the application when the backup of all objects has completed.  However, for faster start/resume of the application use the Save While Active option Command to run when libraries are synchronized.  With this option, the applications are started/resumed once synchronization has completed rather than waiting for the backup to complete.

For more details on save while active options:

https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_61/cl/savlib.htm#SAVLIB.SAVACT

1 Commvault Way, Tinton Falls, NJ 07724 Sitemap | Legal Notices | Trademarks | Privacy Policy
Copyright © Commvault | All Rights Reserved.