Re: [Veritas-bu] Script to see skipped files
In the Windows gui you can run a general problems report and parse that for them. I'm not sure how to parse this information from the command line. Perhaps its in log file somewhere? Probably on the client. Anyhow Reports -- Problems. -Jonathan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawler, Michael C. Sent: Thursday, September 13, 2007 8:11 AM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] Script to see skipped files Does anyone out there have a script to allow NBU to send you the list of skipped files for a status 1 job? Or know of a way to get NOM to report these without having to go through each job one by one to track them down...I'm spending way to much time each day hunting these little buggers down trying to clean them up! Michael Lawler Systems Administrator, I http://www.cooperstandard.com/ + Address: 207 South West Street, Auburn, IN 46706 * E-Mail: [EMAIL PROTECTED] * Phone: 260.927.3477 * Fax: 260.927.1348 image001.jpg___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Script to see skipped files
I've worked with that a bit, but I'm having the same issue as you, trouble parseing it down into something readable. There are a couple of reporting tools out there that will give it to me, but the cost they are charging is just a bit to much to make it worth it...one would have though that NOM would have included a report of this nature, but I guess that was just to much to ask from a reporting and management tool :P - Michael Lawler From: Martin, Jonathan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 8:27 AM To: Lawler, Michael C.; veritas-bu@mailman.eng.auburn.edu Subject: RE: [Veritas-bu] Script to see skipped files In the Windows gui you can run a general problems report and parse that for them. I'm not sure how to parse this information from the command line. Perhaps its in log file somewhere? Probably on the client. Anyhow Reports -- Problems. -Jonathan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawler, Michael C. Sent: Thursday, September 13, 2007 8:11 AM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] Script to see skipped files Does anyone out there have a script to allow NBU to send you the list of skipped files for a status 1 job? Or know of a way to get NOM to report these without having to go through each job one by one to track them down...I'm spending way to much time each day hunting these little buggers down trying to clean them up! Michael Lawler Systems Administrator, I http://www.cooperstandard.com/ + Address: 207 South West Street, Auburn, IN 46706 * E-Mail: [EMAIL PROTECTED] * Phone: 260.927.3477 * Fax: 260.927.1348 image001.jpg___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Script to see skipped files
I just ran a quick test. Copy and paste from the report to a txt file. Open it with Excel, delimited type by tab and : (colon.) Sort by column K and delete every row that doesn't start with WRN - Can't open file. I don't know that you are a windows shop, but you could easily parse this information with grep, awk and/or perl. I just don't know how to get this data out of Netbackup without using the GUI for the problems report. -Jonathan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawler, Michael C. Sent: Thursday, September 13, 2007 8:31 AM To: veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Script to see skipped files I've worked with that a bit, but I'm having the same issue as you, trouble parseing it down into something readable. There are a couple of reporting tools out there that will give it to me, but the cost they are charging is just a bit to much to make it worth it...one would have though that NOM would have included a report of this nature, but I guess that was just to much to ask from a reporting and management tool :P - Michael Lawler From: Martin, Jonathan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 8:27 AM To: Lawler, Michael C.; veritas-bu@mailman.eng.auburn.edu Subject: RE: [Veritas-bu] Script to see skipped files In the Windows gui you can run a general problems report and parse that for them. I'm not sure how to parse this information from the command line. Perhaps its in log file somewhere? Probably on the client. Anyhow Reports -- Problems. -Jonathan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawler, Michael C. Sent: Thursday, September 13, 2007 8:11 AM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] Script to see skipped files Does anyone out there have a script to allow NBU to send you the list of skipped files for a status 1 job? Or know of a way to get NOM to report these without having to go through each job one by one to track them down...I'm spending way to much time each day hunting these little buggers down trying to clean them up! Michael Lawler Systems Administrator, I http://www.cooperstandard.com/ + Address: 207 South West Street, Auburn, IN 46706 * E-Mail: [EMAIL PROTECTED] * Phone: 260.927.3477 * Fax: 260.927.1348 image001.jpg___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Script to see skipped files
Windows or Unix env ? Dave From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin, Jonathan Sent: 13 September 2007 13:56 To: Lawler, Michael C.; veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Script to see skipped files I just ran a quick test. Copy and paste from the report to a txt file. Open it with Excel, delimited type by tab and : (colon.) Sort by column K and delete every row that doesn't start with WRN - Can't open file. I don't know that you are a windows shop, but you could easily parse this information with grep, awk and/or perl. I just don't know how to get this data out of Netbackup without using the GUI for the problems report. -Jonathan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawler, Michael C. Sent: Thursday, September 13, 2007 8:31 AM To: veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Script to see skipped files I've worked with that a bit, but I'm having the same issue as you, trouble parseing it down into something readable. There are a couple of reporting tools out there that will give it to me, but the cost they are charging is just a bit to much to make it worth it...one would have though that NOM would have included a report of this nature, but I guess that was just to much to ask from a reporting and management tool :P - Michael Lawler From: Martin, Jonathan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 8:27 AM To: Lawler, Michael C.; veritas-bu@mailman.eng.auburn.edu Subject: RE: [Veritas-bu] Script to see skipped files In the Windows gui you can run a general problems report and parse that for them. I'm not sure how to parse this information from the command line. Perhaps its in log file somewhere? Probably on the client. Anyhow Reports -- Problems. -Jonathan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawler, Michael C. Sent: Thursday, September 13, 2007 8:11 AM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] Script to see skipped files Does anyone out there have a script to allow NBU to send you the list of skipped files for a status 1 job? Or know of a way to get NOM to report these without having to go through each job one by one to track them down...I'm spending way to much time each day hunting these little buggers down trying to clean them up! Michael Lawler Systems Administrator, I http://www.cooperstandard.com/ + Address: 207 South West Street, Auburn, IN 46706 * E-Mail: [EMAIL PROTECTED] * Phone: 260.927.3477 * Fax: 260.927.1348 Notice to recipient: The information in this internet e-mail and any attachments is confidential and may be privileged. It is intended solely for the addressee. If you are not the intended addressee please notify the sender immediately by telephone. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to external clients any opinions or advice contained in this internet e-mail are subject to the terms and conditions expressed in any applicable governing terms of business or client engagement letter issued by the pertinent Bank of America group entity. If this email originates from the U.K. please note that Bank of America, N.A., London Branch and Banc of America Securities Limited are authorised and regulated by the Financial Services Authority. attachment: image001.jpg___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Script to see skipped files
If unix bperror -backstat -hoursago 24 -U | grep ^ 1 | awk '{print $2'} | sort -u | while read CLIENT; do bperror -problems -hoursago 24 -client $CLIENT -columns 200 -U; done Dave From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clooney, David Sent: 13 September 2007 14:03 To: Martin, Jonathan; Lawler, Michael C.; veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Script to see skipped files Windows or Unix env ? Dave From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin, Jonathan Sent: 13 September 2007 13:56 To: Lawler, Michael C.; veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Script to see skipped files I just ran a quick test. Copy and paste from the report to a txt file. Open it with Excel, delimited type by tab and : (colon.) Sort by column K and delete every row that doesn't start with WRN - Can't open file. I don't know that you are a windows shop, but you could easily parse this information with grep, awk and/or perl. I just don't know how to get this data out of Netbackup without using the GUI for the problems report. -Jonathan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawler, Michael C. Sent: Thursday, September 13, 2007 8:31 AM To: veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Script to see skipped files I've worked with that a bit, but I'm having the same issue as you, trouble parseing it down into something readable. There are a couple of reporting tools out there that will give it to me, but the cost they are charging is just a bit to much to make it worth it...one would have though that NOM would have included a report of this nature, but I guess that was just to much to ask from a reporting and management tool :P - Michael Lawler From: Martin, Jonathan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 8:27 AM To: Lawler, Michael C.; veritas-bu@mailman.eng.auburn.edu Subject: RE: [Veritas-bu] Script to see skipped files In the Windows gui you can run a general problems report and parse that for them. I'm not sure how to parse this information from the command line. Perhaps its in log file somewhere? Probably on the client. Anyhow Reports -- Problems. -Jonathan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawler, Michael C. Sent: Thursday, September 13, 2007 8:11 AM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] Script to see skipped files Does anyone out there have a script to allow NBU to send you the list of skipped files for a status 1 job? Or know of a way to get NOM to report these without having to go through each job one by one to track them down...I'm spending way to much time each day hunting these little buggers down trying to clean them up! Michael Lawler Systems Administrator, I http://www.cooperstandard.com/ + Address: 207 South West Street, Auburn, IN 46706 * E-Mail: [EMAIL PROTECTED] * Phone: 260.927.3477 * Fax: 260.927.1348 Notice to recipient: The information in this internet e-mail and any attachments is confidential and may be privileged. It is intended solely for the addressee. If you are not the intended addressee please notify the sender immediately by telephone. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to external clients any opinions or advice contained in this internet e-mail are subject to the terms and conditions expressed in any applicable governing terms of business or client engagement letter issued by the pertinent Bank of America group entity. If this email originates from the U.K. please note that Bank of America, N.A., London Branch and Banc of America Securities Limited are authorised and regulated by the Financial Services Authority. attachment: image001.jpg___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Script to see skipped files
It's a Windows environment. - Michael Lawler From: Clooney, David [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 9:08 AM To: Clooney, David; Martin, Jonathan; Lawler, Michael C.; veritas-bu@mailman.eng.auburn.edu Subject: RE: [Veritas-bu] Script to see skipped files If unix bperror -backstat -hoursago 24 -U | grep ^ 1 | awk '{print $2'} | sort -u | while read CLIENT; do bperror -problems -hoursago 24 -client $CLIENT -columns 200 -U; done Dave From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clooney, David Sent: 13 September 2007 14:03 To: Martin, Jonathan; Lawler, Michael C.; veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Script to see skipped files Windows or Unix env ? Dave From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin, Jonathan Sent: 13 September 2007 13:56 To: Lawler, Michael C.; veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Script to see skipped files I just ran a quick test. Copy and paste from the report to a txt file. Open it with Excel, delimited type by tab and : (colon.) Sort by column K and delete every row that doesn't start with WRN - Can't open file. I don't know that you are a windows shop, but you could easily parse this information with grep, awk and/or perl. I just don't know how to get this data out of Netbackup without using the GUI for the problems report. -Jonathan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawler, Michael C. Sent: Thursday, September 13, 2007 8:31 AM To: veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Script to see skipped files I've worked with that a bit, but I'm having the same issue as you, trouble parseing it down into something readable. There are a couple of reporting tools out there that will give it to me, but the cost they are charging is just a bit to much to make it worth it...one would have though that NOM would have included a report of this nature, but I guess that was just to much to ask from a reporting and management tool :P - Michael Lawler From: Martin, Jonathan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 8:27 AM To: Lawler, Michael C.; veritas-bu@mailman.eng.auburn.edu Subject: RE: [Veritas-bu] Script to see skipped files In the Windows gui you can run a general problems report and parse that for them. I'm not sure how to parse this information from the command line. Perhaps its in log file somewhere? Probably on the client. Anyhow Reports -- Problems. -Jonathan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawler, Michael C. Sent: Thursday, September 13, 2007 8:11 AM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] Script to see skipped files Does anyone out there have a script to allow NBU to send you the list of skipped files for a status 1 job? Or know of a way to get NOM to report these without having to go through each job one by one to track them down...I'm spending way to much time each day hunting these little buggers down trying to clean them up! Michael Lawler Systems Administrator, I http://www.cooperstandard.com/ + Address: 207 South West Street, Auburn, IN 46706 * E-Mail: [EMAIL PROTECTED] * Phone: 260.927.3477 * Fax: 260.927.1348 Notice to recipient: The information in this internet e-mail and any attachments is confidential and may be privileged. It is intended solely for the addressee. If you are not the intended addressee please notify the sender immediately by telephone. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to external clients any opinions or advice contained in this internet e-mail are subject to the terms and conditions expressed in any applicable governing terms of business or client engagement letter issued by the pertinent Bank of America group entity. If this email originates from the U.K. please note that Bank of America, N.A., London Branch and Banc of America Securities Limited are authorised and regulated by the Financial Services Authority. image001.jpg___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Script to see skipped files
Aptare has a script for this. = Carl Stehman IT Distributed Services Team Pepco Holdings, Inc. 202-331-6619 Pager 301-765-2703 [EMAIL PROTECTED] Lawler, Michael C. [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/13/2007 08:36 AM To veritas-bu@mailman.eng.auburn.edu cc Subject Re: [Veritas-bu] Script to see skipped files I?ve worked with that a bit, but I?m having the same issue as you, trouble parseing it down into something readable. There are a couple of reporting tools out there that will give it to me, but the cost they are charging is just a bit to much to make it worth it?one would have though that NOM would have included a report of this nature, but I guess that was just to much to ask from a reporting and management tool :P - Michael Lawler From: Martin, Jonathan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 8:27 AM To: Lawler, Michael C.; veritas-bu@mailman.eng.auburn.edu Subject: RE: [Veritas-bu] Script to see skipped files In the Windows gui you can run a general problems report and parse that for them. I'm not sure how to parse this information from the command line. Perhaps its in log file somewhere? Probably on the client. Anyhow Reports -- Problems. -Jonathan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawler, Michael C. Sent: Thursday, September 13, 2007 8:11 AM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] Script to see skipped files Does anyone out there have a script to allow NBU to send you the list of skipped files for a status 1 job? Or know of a way to get NOM to report these without having to go through each job one by one to track them down?I?m spending way to much time each day hunting these little buggers down trying to clean them up! Michael Lawler Systems Administrator, I + Address: 207 South West Street, Auburn, IN 46706 * E-Mail: [EMAIL PROTECTED] ( Phone: 260.927.3477 7 Fax: 260.927.1348 ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu This Email message and any attachment may contain information that is proprietary, legally privileged, confidential and/or subject to copyright belonging to Pepco Holdings, Inc. or its affiliates (PHI). This Email is intended solely for the use of the person(s) to which it is addressed. If you are not an intended recipient, or the employee or agent responsible for delivery of this Email to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this Email is strictly prohibited. If you have received this message in error, please immediately notify the sender and permanently delete this Email and any copies. PHI policies expressly prohibit employees from making defamatory or offensive statements and infringing any copyright or any other legal right by Email communication. PHI will not accept any liability in respect of such communications. inline: image/jpeg___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Script to see skipped files
Dave wrote the following in response to this thread: If unix bperror -backstat -hoursago 24 -U | grep ^ 1 | awk '{print $2'} | sort -u | while read CLIENT; do bperror -problems -hoursago 24 -client $CLIENT -columns 200 -U; done Dave You could also use the following: bperror -all -problems -backstat -hoursago 24 | awk ' $19 == 1 {print $6, $19, $12, $14, $16}' | awk '{print $3}' | sort -u | xargs -i bperror -problems -hoursago 24 -client {} -columns 200 -U OR For an individual jobid: cat /usr/openv/netbackup/db/jobs/trylogs/jobid.t | grep ^LOG _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawler, Michael C. Sent: Thursday, September 13, 2007 6:11 AM To: veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Script to see skipped files ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu