All,
The output below is from my backup error log on my master server (Solaris 8) running Netbackup 4.5
I am trying to use awk to strip out the failed files which could not be backed up. The failed files all start with a capital letter (for drive index) followed by a colon. The catch is that some file paths have spaces between the folder names and I think awk might have a problem with that.
Example: C:\Program Files\...\...
Is there an awk command or script which would get this info for me? I want to have the failed files all listed in another file for viewing.
Thanks!!!!!
===============================================
$server error messages for the past 24 hours
===============================================
TIME SERVER/CLIENT TEXT
04/30/2003 21:17:19 (Backup server) client from client x: WRN - OTM Error:0xe0001005 (WIN32 -536866811: Unknown
error)
04/30/2003 21:17:26 (Backup server) client from client x: WRN - OTM Error: will attempt to reenable OTM
04/30/2003 21:26:33 (Backup server) client from client x: ERR - OTM Error while reading file:
E:\e_new\urlcache\dir4\http!``04/30/2003 22:14:33 (Backup server)client backup of client x exited with status 1 (the requested
operation was partially successful)
The output below is from my backup error log on my master server (Solaris 8) running Netbackup 4.5
I am trying to use awk to strip out the failed files which could not be backed up. The failed files all start with a capital letter (for drive index) followed by a colon. The catch is that some file paths have spaces between the folder names and I think awk might have a problem with that.
Example: C:\Program Files\...\...
Is there an awk command or script which would get this info for me? I want to have the failed files all listed in another file for viewing.
Thanks!!!!!
===============================================
$server error messages for the past 24 hours
===============================================
TIME SERVER/CLIENT TEXT
04/30/2003 21:17:19 (Backup server) client from client x: WRN - OTM Error:0xe0001005 (WIN32 -536866811: Unknown
error)
04/30/2003 21:17:26 (Backup server) client from client x: WRN - OTM Error: will attempt to reenable OTM
04/30/2003 21:26:33 (Backup server) client from client x: ERR - OTM Error while reading file:
E:\e_new\urlcache\dir4\http!``04/30/2003 22:14:33 (Backup server)client backup of client x exited with status 1 (the requested
operation was partially successful)