Sometimes you need to copy the error log to tape or diskette. For example, the Blueworx Support might ask for a copy of the file to help determine the cause of a problem.
To copy the error log, use the AIX tar command. You need the name of the device (tape drive or diskette drive) to which the file will be written.
If the error log file is very large, or if there are many error log files, you should compress the files (by using the AIX compress command) if you are going to save them on a low density medium such as a diskette.
The system displays the User Login menu.
The system displays the system prompt - usually a dollar sign ($).
cd $OAM_LOG_PATH
The system lists the error logs that are in the directory. The current file is called errorlog. The history files have a date appended to the file name.
tar -cvf/dev/xxx ########
The system copies the file to the tape or diskette that is loaded in the device specified by the command.