2.12 Log Files

During the backup session, the TSA builds a log file that lists the errors that occurred during the backup session and an optional list of skipped data sets. Both files are automatically deleted when NWSMTSReleaseTargetService is called.

The log file contains:

The error log is an ASCII file that lists the errors and warnings that occurred during the backup session.

The skipped data sets log is a binary file that lists the data sets that met the scanning criteria but were skipped because they could not be backed up. Each entry in the skipped data sets file is an NWSM_DATA_SET_NAME_LIST structure where the bufferSize field does not contain a valid value. The reserved field of each entry contains an error code that describes the reason for skipping the data set. The engine should translate the error code to a string by calling NWSMConvertError (see Storage Management Services Utility Library).