Re: [Veritas-bu] NetBackup Blat
I have several scripts for daily monitoring that either call the installed instance of blat directly or reuse the nbmail.cmd script. 1. A daily status report which details any backups which ended in an error status, any that are still running at the time of the report, any that are still running from the previous day, and any that were expected to run, but have not. 2. A daily report of how many tapes are available in my scratch pool. 3. Status reports for several backup scripts which coordinate to shut down services and databases and perform some cleanup tasks, then fire backups, then monitor for all the relevant backup streams to complete before rebooting servers or restarting services and databases. The status reports tell me when these processes start, when the end of all the streams are detected, and when all of the restarts are completed. I like scripting, so I've likely called this other places I am forgetting. Also, I have scripted batch files for windows for a long time, and consider blat a very normal tool to have in such processes. While an SMTP client is a fairly simple thing, if I need one from a batch file BLAT is my first choice. (CDO form VBScript or PowerShell, and unfortunately I don't write Perl, so I can't say.) If anyone with a copy of Tim Hill's, Windows NT Shell Scripting, on their shelf is complaining about blat's use, I'd consider the complaint, but outside of that I wouldn't give it much thought. Blat's license affirms that it can be redistributed or even sold. Of course it then confuses this by acknowledging that parts of the source come from other sources, indicating it may be otherwise encumbered. In any event, I'd have the lawyers consider whether it can be redistributed with your product before writing your own SMTP client. Patrick Sweeney (978) 787-4553 patrick.swee...@axcelis.com I.T. Systems/Networks For issues requiring immediate attention please contact the Solution Center IT Solution Center (978) 787- beverly.helpd...@axcelis.com Axcelis Technologies Have you searched here and here? -Original Message- From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of tim burlowski Sent: Tuesday, February 02, 2010 12:47 PM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] NetBackup Blat We have heard from customers that they would like us to remove our requirement that you install a third party tool like blat in order to have NetBackup send mail on Windows. In fact this improvement is the third most popular idea for NetBackup on our Ideas portal, http://www.symantec.com/connect/idea/mail-notification . So we're looking at it and I have a question. The nbmail.cmd script is used by NetBackup processes to send mail from NetBackup. Do you use nbmail.cmd from other scripts you have written for backup recovery operations? What do these scripts do? You can reply to the list or if you prefer feel free to email me directly. Thanks for your feedback. If you have more ideas for improvements to NetBackup be sure and add them to the Ideas portal http://www.symantec.com/connect/ideas -- tim burlowski Product Manager Symantec ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Netbackup Functionality - 6.5.5
6.5.5 on Windows 2003 Master - I see the same result. I can choose Windows 2008, IA64 Windows 2008, and x64 Windows 2008, but not R2. It is successfully backing up an x64 Windows 2008 R2 server. Patrick Sweeney (978) 787-4553 patrick.swee...@axcelis.com I.T. Systems/Networks For issues requiring immediate attention please contact the Solution Center IT Solution Center (978) 787- beverly.helpd...@axcelis.com Axcelis Technologies Have you searched here and here? -Original Message- From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of NBU Sent: Thursday, February 04, 2010 5:51 AM To: VERITAS-BU@MAILMAN.ENG.AUBURN.EDU Subject: [Veritas-bu] Netbackup Functionality - 6.5.5 Hi Forum, I have upgraded my developement setup which was on 6.5.3 to 6.5.5 Master - Solaris 9. But when i am checking Hardware OS under policy i don't get Win 2008 R2 option any where. Also what other functions of 6.5.5 i can verify. Thanks in Advance. +-- |This was sent by qureshiu...@rediffmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Bpbackup Command Issues
Alternatively you would need to run the command on the master server. I have some processes where I run a script prior to kicking off the backup, and then fire off the backup command on the master server by using schtasks. If you have multiple schedules in the policy, you will probably want to specify the schedule in the command. Patrick Sweeney (978) 787-4553 patrick.swee...@axcelis.com I.T. Systems/Networks For issues requiring immediate attention please contact the Solution Center IT Solution Center (978) 787- beverly.helpd...@axcelis.com Axcelis Technologies Have you searched herehttp://inside.axcelis.com/ and herehttp://www.google.com/? From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Dean Sent: Monday, April 27, 2009 9:13 PM To: Jimenez, Daniel Cc: veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Bpbackup Command Issues You'll need a schedule of the type User Backup. As you have the bpbackup command below, it will spawn the backup off and the script will continue without waiting for the backup to actually complete. You need to add the -w parameter if you want the script to wait for the backup to complete and check it's status. - Dean On Tue, Apr 28, 2009 at 9:25 AM, Jimenez, Daniel daniel.jime...@imb.commailto:daniel.jime...@imb.com wrote: Hey guys We've been encountering issues running Bpbackup below through batch file on a Windows Netbackup environment (6.5.1). We have been receiving the errors below and was wondering if anyone has automated a vbscript to run a backup? We take a snap on a clariion and mount the drives, once the import completes, we will then run the bpbackup command and if the status comes back with a 0 we will continue the script which will deport the drives. The part of the script that does not seem to work is listed below. Script: Bpbackup -p rst101_vtl -S master1 -h server1 -f d:\scripts\emxtest.txt -t 13 -L d:\Scripts\emx001-np1.log (## attempted with -s and without) Errors: Backup started 04/27/2009 15:36:07 15:36:11 Initiating backup 15:36:13 INF - Server status = 240 15:36:14 INF - Server status = 240 15:36:18 INF - Backup by admin_user on client server1 using policy rst101_vtl:no schedules of the correct type exist in this policy. === 15:58:09 Initiating backup 15:58:11 INF - Server status = 240 Backup started 04/27/2009 16:01:25 The policy and schedule have been created and the server is listed as a client. There are no issues with case sensitivity and have attempted several ways to run this script. Any assistance would be appreciated, thanks. Daniel ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edumailto:Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] NetBackup 6.5 Release Update 3 Hotfix 1 (6.5.3.1)
Of course, if the reason you can only reboot at certain times is because of running backups , vaults, or other NetBackup activity, then you are still stuck in that window, since you will be bringing NetBackup down. Patrick Sweeney (978) 787-4553 patrick.swee...@axcelis.com I.T. Systems/Networks For issues requiring immediate attention please contact the Solution Center IT Solution Center (978) 787- beverly.helpd...@axcelis.com Axcelis Technologies Have you searched herehttp://inside.axcelis.com/ and herehttp://www.google.com/? From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Steve Fogarty Sent: Friday, March 06, 2009 2:29 PM To: Savage, Catherine Cc: veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] NetBackup 6.5 Release Update 3 Hotfix 1 (6.5.3.1) No reboot required. Stop NBU; apply the Hot Fix; start NBU. Steve On Fri, Mar 6, 2009 at 3:19 PM, Savage, Catherine catherine.sav...@uscg.milmailto:catherine.sav...@uscg.mil wrote: I'm new to this and hope you all can help. We're planning the install of this patch on our HP-UX media servers and would like to know if a reboot is required once this patch is installed. I've read the release notes and installation instructions but didn't see anything regarding a reboot. As we can only perform reboots during certain times, the answer would dictate when we can install the patch. Any help would be appreciated. Thanks, Cathy Savage ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edumailto:Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] issue with 6.5.3 and win 2008 servers
Oh, and I force everything Win 2003 and above to use VSS in the Client Properties of the Master Server - so yes, I did that. Patrick Sweeney (978) 787-4553 patrick.swee...@axcelis.com I.T. Systems/Networks For issues requiring immediate attention please contact the Solution Center IT Solution Center (978) 787- beverly.helpd...@axcelis.com Axcelis Technologies Have you searched here and here? -Original Message- From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Sweeney, Patrick Sent: Thursday, March 05, 2009 4:15 PM To: VERITAS-BU@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] issue with 6.5.3 and win 2008 servers I did. On my 1 2008 server the backup ran for 4 days. On the 5th day bpbrm seemed to never hand off to bpcd and the parent job just hung out there, never spawning child jobs, and not allowing me to cancel it. I reverted it back to 6.5.2a. Lots of things it could have been, but not any I have time enough to toy with. Patrick Sweeney (978) 787-4553 patrick.swee...@axcelis.com I.T. Systems/Networks For issues requiring immediate attention please contact the Solution Center IT Solution Center (978) 787- beverly.helpd...@axcelis.com Axcelis Technologies Have you searched here and here? -Original Message- From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of RyanV Sent: Wednesday, March 04, 2009 11:56 AM To: VERITAS-BU@mailman.eng.auburn.edu Subject: [Veritas-bu] issue with 6.5.3 and win 2008 servers Did you ever try the NBU 6.5.3.1 client? +-- |This was sent by rv...@ercot.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Legal Freeze / Frozen Media
Just a thought - what about creating a media pool that isn't used by any backup policies and moving the media to that pool until you have the opportunity to flip the write/tab and import it? From: veritas-bu-boun...@mailman.eng.auburn.edu [veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Martin, Jonathan [jmart...@intersil.com] Sent: Tuesday, February 17, 2009 8:48 AM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] Legal Freeze / Frozen Media All, We've recently been hit by a number of legal actions requiring media to be frozen and I'm trying to refine my procedure. There has always been a request that I save the catalog entries for the media that are being frozen. After trying this, I've found that we simply don't have enough space on the images lun to do this. What I've done instead is to output what images are on the media to the frozen media document so at least if data is required and the catalog is purged, we know which ones to scan / import first. Does anyone have a better idea than this? I've also considered making a special catalog backup (what a hassle to restore though) or archiving the images. Further, I'm pretty good about requesting media back and if they are frozen returning them as indefinite retention / frozen. However, I fear my co-workers may be less diligent with their restores. (One in particular returned an LTO3 media to me this week in a SDLT Media case.) Is there some way short of a sharpie to safely mark / label these media as frozen? I'm just looking for ideas. Thanks, -Jonathan ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Backup Policy - Responsibility for adding client into NBU
I actually just had an issue come up with this. My environment is fairly simple, and nearly all of the servers are MS Windows, in a single domain, no clustered servers. I just added a VBScript to enumerate any machines added to AD in the last 24 hours with server in the operating system name, a batch file to run the VBScript and email the results, and scheduled task on my Master server to run the batch once a day. I posted the code here, http://www.netbackupscripts.com/index.php?topic=5.0. It certainly isn't one-size-fits-all but it will do for some people. Patrick Sweeney (978) 787-4553 patrick.swee...@axcelis.com I.T. Systems/Networks For issues requiring immediate attention please contact the Solution Center IT Solution Center (978) 787- beverly.helpd...@axcelis.com Axcelis Technologies Have you searched here and here? -Original Message- From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of James Osbourn Sent: Tuesday, February 17, 2009 11:14 AM To: WEAVER, Simon (external) Cc: veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Backup Policy - Responsibility for adding client into NBU Simon, In my previous job we had a coverage report script that ran. If I remember correctly it used DNS config files to get a list of machines on the network ( we were not using dynamic addressing ) and it used netbackup check_coverage script in the bin/goodies directory to list client and compared the two lists. We had a seperate config file which we could set up exception. The config was basically a list of regular expressions. For example we did not want to backup ethernet switches or routers or printers etc and these could all be added to the list of machines to ignore. The script ran once a week and reported and differences. James WEAVER, Simon (external) wrote: All A general chit -chat question really. I discovered a project where it holds 500mb Data and was NOT backed up ! The only reason this came to light was due to a problem on the Server, when the NBU Admin realised it had not been backed up (but should have been). Looking at the history, it was backed up, but somehow its been removed from a Policy. Luckily, the fault was rectified and all data was recovered intact. Question is this - who is responsible for ensuring any new Servers get backed up into your Backup Environment? Sometimes I think its easy to blame the NBU admin, but how do they know what should or should not be backed up. Does anyone have any process or routine in place or regular checks with their System Admins to make sure the backup client lists have not changed or need new servers backed up? /Regards/ /Simon / This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Astrium disclaims any and all liability if this email transmission was virus corrupted, altered or falsified. -o- Astrium Limited, Registered in England and Wales No. 2449259 Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu -- Systems Administrator Backups Storage Team Wellcome Trust Sanger Institute Wellcome Trust Genome Campus Hinxton, Cambridge. CB10 1SA -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] bpdbjos and just parent
Download gawk and pipe the reulsts of bpdbjobs -mostcolumns to it. I'llwrite the awk line for what you need when i get to work tonight, but basically gawk is going to do two things for you here - it will let you easily filter that output down to the jobs where the parent ID and the JobID match (just the parents) and the systime() and strftime() functions will let you convert between the epoch style dating and something more human readable. It's ultimately just a long one line command that way. From: veritas-bu-boun...@mailman.eng.auburn.edu [veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of judy_hinchcli...@administaff.com [judy_hinchcli...@administaff.com] Sent: Thursday, February 12, 2009 12:55 PM To: VERITAS-BU@mailman.eng.auburn.edu Subject: [Veritas-bu] bpdbjos and just parent NB 6.5.3 I am trying to use this command to get just the parent jobs in mm/dd/yy date formant and not unix epoch format. (I will settle for all jobs if need be) So I want to supply a list of servers in a for loop Get the parent job for that client What I am looking for is the active start and end times But I am having issues getting that in mm/dd/yy format. Anybody got any ideas or other commands I could use? ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Real time failure notification
Travis, I have three possible solutions for you - I think. I haven't tested the example I am providing here, so you'll probably need to do a little debugging. 1. Run BPDBJOBS at a regular interval, and parse for jobs of type backup, whose parentid is equal to its own id, with a status greater than 1 and an end time greater than the last time you checked. The batch file below uses gawk 3.1.0 - hopefully there are no typos. You could set this to run as a scheduled task at some appropriate interval - like once an hour maybe. (Careful -lines may wrap) You could actually do something simpler here if you just wrote the whole thing as an awk script - but this should work. REM DETERMINE THE LAST Time this was run REM We will use this as the cutoff time and ignore older errors FOR /F %%i in (LASTRUN.TXT) do ( SET LASTRUN=%%i ) REM Now record the current time for the next run ECHO. | gawk {print systime()} LASTRUN.TXT REM Now run bpdbjobs and find backup errors since the last job, REM but only if the parentid is the same as the jobid REM for more info on the fields returned by bpdbjobs take a look at REM the Veritas NetBackup Commands; Windows; Release 6.5 bpdbjobs -most_columns |gawk -F , {if ($34 == $1 $2 == 0 $3 == 3 $11 %LASTRUN%) print $1,$4,$5,$6,$7,$11} NewAlerts.txt For /f %%i in (NewAlerts.txt) do ( ECHO JOBID = %%i %%i.error ECHO EXIT STATUS = %%j %%i.error ECHO POLICY = %%k %%i.error ECHO SCHEDULE = %%l %%i.error ECHO CLIENT = %%m %%i.error call %NB_MAIL_SCRIPT% whoe...@wherever.tld Backup on %%m Exited with Status %%j %%i.error DEL %%i.error ) 2. I have posted a set of bpstart_notify.bat and bpend_notify.bat scripts intended to perform a set of actions only once. These are at http://www.netbackupscripts.com/index.php?topic=4.0 My production environment isn't as intense as some, so your mileage may vary with these. I think these could be modified as follows to satisfy your requirement: In the bpend_notify.bat file Echo the exit status of each stream to an individual file - and overwrite that file if it exits with a different status, i.e. After the line @DEL NBSTREAM_%STREAM_NUMBER%.%SPECIFICITY%LOCK Add the following line @ECHO %5 NBSTREAM-%STREAM_NUMBER%.%SPECIFICITY%RESULT Now, in the section of actions to be performed after the last stream, read through those results, and if any are greater than 1 - alert. (Then clean up the results files) So, after the line @REM Perform the actions you want after backup Add the following block. (My apologies for the apparent clumsiness of this - specifying a fileset, never seems to work as I would like.) (That and ENABLEDELAYEDEXPANSION doesn't seem to work as I would like in a nested FOR, but does when called.) @SETLOCAL ENABLEDELAYEDEXPANSION @SET HIGHSTATUS=0 @FOR /F %%i in ('dir NBSTREAM_*.%SPECIFICITY%RESULT /b') do ( @FOR /F %%j in (%%i) do ( @CALL :CHECKHIGHSTATUS %%j ) ) @IF %HIGHSTATUS gtr 1 ( @call %NB_MAIL_SCRIPT% whoe...@wherever.tld Backup on %1 - %5 ) @REM Now clean up the Result Files @DEL NBSTREAM_*%SPECIFICITY%RESULT /Q @GOTO :eof :CHECKHIGHSTATUS @IF /I %1 gtr !HIGHSTATUS! SET HIGHSTATUS=%1 @GOTO :eof Patrick Sweeney (978) 787-4553 patrick.swee...@axcelis.com I.T. Systems/Networks For issues requiring immediate attention please contact the Solution Center IT Solution Center (978) 787- beverly.helpd...@axcelis.com Axcelis Technologies Have you searched here and here? -Original Message- From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Travis Kelley Sent: Wednesday, February 04, 2009 11:39 AM To: judy_hinchcli...@administaff.com; veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Real time failure notification Looks like parent_end_notify does what I need for multistreamed jobs. It doesn't get called for jobs without multistreaming though. I guess having an environment with policies that have multistreaming on and off makes this harder. For the other questions that were asked...this is NB6.5.2 and its.a solaris master, so no blat.exe. On 2/4/09, judy_hinchcli...@administaff.com judy_hinchcli...@administaff.com wrote: Try the parent_end_notify This only runs when the parent job ends. If any of the children die the parent gets that error. But if all the children are good the parent gets a 0. -Original Message- From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Travis Kelley Sent: Wednesday, February 04, 2009 9:36 AM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] Real time failure notification Hi all. I'm trying to find a solution to a monitoring problem we have. I would like to create a mechanism to alert when a backup fails but to only send one alert if multiple streams from a backup fail. For instance if c: and d: both fail for a particular box, I only want 1 alert. Also if a job
Re: [Veritas-bu] Real time failure notification
I guess I only had two possible solutions. :) (Was thinking of using bperror in a fashion similar to bpdbjobs - but I don't think there is enough info in the output to filter since last run.) Patrick Sweeney (978) 787-4553 patrick.swee...@axcelis.com I.T. Systems/Networks For issues requiring immediate attention please contact the Solution Center IT Solution Center (978) 787- beverly.helpd...@axcelis.com Axcelis Technologies Have you searched here and here? -Original Message- From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Sweeney, Patrick Sent: Wednesday, February 04, 2009 3:55 PM To: Travis Kelley; judy_hinchcli...@administaff.com; veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Real time failure notification Travis, I have three possible solutions for you - I think. I haven't tested the example I am providing here, so you'll probably need to do a little debugging. 1. Run BPDBJOBS at a regular interval, and parse for jobs of type backup, whose parentid is equal to its own id, with a status greater than 1 and an end time greater than the last time you checked. The batch file below uses gawk 3.1.0 - hopefully there are no typos. You could set this to run as a scheduled task at some appropriate interval - like once an hour maybe. (Careful -lines may wrap) You could actually do something simpler here if you just wrote the whole thing as an awk script - but this should work. REM DETERMINE THE LAST Time this was run REM We will use this as the cutoff time and ignore older errors FOR /F %%i in (LASTRUN.TXT) do ( SET LASTRUN=%%i ) REM Now record the current time for the next run ECHO. | gawk {print systime()} LASTRUN.TXT REM Now run bpdbjobs and find backup errors since the last job, REM but only if the parentid is the same as the jobid REM for more info on the fields returned by bpdbjobs take a look at REM the Veritas NetBackup Commands; Windows; Release 6.5 bpdbjobs -most_columns |gawk -F , {if ($34 == $1 $2 == 0 $3 == 3 $11 %LASTRUN%) print $1,$4,$5,$6,$7,$11} NewAlerts.txt For /f %%i in (NewAlerts.txt) do ( ECHO JOBID = %%i %%i.error ECHO EXIT STATUS = %%j %%i.error ECHO POLICY = %%k %%i.error ECHO SCHEDULE = %%l %%i.error ECHO CLIENT = %%m %%i.error call %NB_MAIL_SCRIPT% whoe...@wherever.tld Backup on %%m Exited with Status %%j %%i.error DEL %%i.error ) 2. I have posted a set of bpstart_notify.bat and bpend_notify.bat scripts intended to perform a set of actions only once. These are at http://www.netbackupscripts.com/index.php?topic=4.0 My production environment isn't as intense as some, so your mileage may vary with these. I think these could be modified as follows to satisfy your requirement: In the bpend_notify.bat file Echo the exit status of each stream to an individual file - and overwrite that file if it exits with a different status, i.e. After the line @DEL NBSTREAM_%STREAM_NUMBER%.%SPECIFICITY%LOCK Add the following line @ECHO %5 NBSTREAM-%STREAM_NUMBER%.%SPECIFICITY%RESULT Now, in the section of actions to be performed after the last stream, read through those results, and if any are greater than 1 - alert. (Then clean up the results files) So, after the line @REM Perform the actions you want after backup Add the following block. (My apologies for the apparent clumsiness of this - specifying a fileset, never seems to work as I would like.) (That and ENABLEDELAYEDEXPANSION doesn't seem to work as I would like in a nested FOR, but does when called.) @SETLOCAL ENABLEDELAYEDEXPANSION @SET HIGHSTATUS=0 @FOR /F %%i in ('dir NBSTREAM_*.%SPECIFICITY%RESULT /b') do ( @FOR /F %%j in (%%i) do ( @CALL :CHECKHIGHSTATUS %%j ) ) @IF %HIGHSTATUS gtr 1 ( @call %NB_MAIL_SCRIPT% whoe...@wherever.tld Backup on %1 - %5 ) @REM Now clean up the Result Files @DEL NBSTREAM_*%SPECIFICITY%RESULT /Q @GOTO :eof :CHECKHIGHSTATUS @IF /I %1 gtr !HIGHSTATUS! SET HIGHSTATUS=%1 @GOTO :eof Patrick Sweeney (978) 787-4553 patrick.swee...@axcelis.com I.T. Systems/Networks For issues requiring immediate attention please contact the Solution Center IT Solution Center (978) 787- beverly.helpd...@axcelis.com Axcelis Technologies Have you searched here and here? -Original Message- From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Travis Kelley Sent: Wednesday, February 04, 2009 11:39 AM To: judy_hinchcli...@administaff.com; veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Real time failure notification Looks like parent_end_notify does what I need for multistreamed jobs. It doesn't get called for jobs without multistreaming though. I guess having an environment with policies that have multistreaming on and off makes this harder. For the other questions that were asked...this is NB6.5.2 and its.a solaris master, so no blat.exe. On 2/4/09, judy_hinchcli...@administaff.com
[Veritas-bu] Third-Party support for Quantum Library
My apologies as this is slightly off-topic, but I am hoping someone on this list will know. I am looking for companies in Massachusetts, USA, that offer third-party support for a quantum Scalar i2k library. If anyone on the list works for such a company, please feel free to contact me directly. Thanks. Patrick Sweeney (978) 787-4553 patrick.swee...@axcelis.com I.T. Systems/Networks ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Fw: Question about posting to site
Sounds like you are in a jam. (Sorry - couldn't resist.) Patrick Sweeney (978) 787-4553 patrick.swee...@axcelis.com I.T. Systems/Networks For issues requiring immediate attention please contact the Solution Center IT Solution Center (978) 787- beverly.helpd...@axcelis.com Axcelis Technologies Have you searched here and here? -Original Message- From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of debbie.l...@jmsmucker.com Sent: Thursday, December 11, 2008 2:16 PM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] Fw: Question about posting to site This is a follow-up message from the email I sent, that is listed below. Can you please let me know if this is ok and I will send you the email with the link for the survey. Thank you. P.S. I am running out of time to get this completed. Thanks again. Debbie Lang Sr. System Administrator The J. M. Smucker Company (330) 684-3990 - Forwarded by Debbie Lang/MIS/Corporate/JMS on 12/11/2008 02:14 PM - | | From: | | --| |Debbie Lang/MIS/Corporate/JMS | --| | | To:| | --| |mailman-ow...@mailman.eng.auburn.edu | --| | | Date: | | --| |12/01/2008 08:48 AM | --| | | Subject: | | --| |Question about posting to site | --| I would like to ask permission it I can post a survey question. This survey is a requirement for completing my project that is necessary for receiving my bachelor's degree in Business Management from Malone University. The survey will be accessed via a weblink and will be kept completely confidential. Please let me know if I can send you my email to post to your website. Thanks, Debbie Lang (also Student at Malone University) Sr. System Administrator The J. M. Smucker Company (330) 684-3990 - Notice: The information contained in this electronic mail transmission is intended by The J.M. Smucker Company (or one of its subsidiaries) for the sole use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please notify the sender of the error by reply email so that our address record can be corrected. Thank you. ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] 6.5.2 upgrade failing
You could also run bpps from the netbackup\bin directory to see what NetBackup processes are running, and run bpdown to end them gracefully - assuming no backups are running at the time. Patrick Sweeney (978) 787-4553 [EMAIL PROTECTED] I.T. Systems/Networks For issues requiring immediate attention please contact the Solution Center IT Solution Center (978) 787- [EMAIL PROTECTED] Axcelis Technologies Have you searched here and here? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of WEAVER, Simon (external) Sent: Tuesday, December 02, 2008 9:34 AM To: [EMAIL PROTECTED]; veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] 6.5.2 upgrade failing Tracker.exe may be running behind the scenes. START / RUN and type MSCONFIG and press OK click on the START UP TAB Look for tracker - if its ticked, untick it and then reboot! May help... Simon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mark wragge Sent: Tuesday, December 02, 2008 2:18 PM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] 6.5.2 upgrade failing i am trying to upgrade my faster server from windows 2003 6.5.0 to 6.5.1 or 6.5.2. When i attempt this the update fails with an error message stating that the update cannot continue as there are proceses still running. I have checked the process list and there are no netbackup, BMR services running. I have also rebooted the server. I noticed in the releaSE NOTES that there is a symantec update tracker service that can cause this problem but this is not running on my server. any suggestions? Send instant messages to your online friends http://uk.messenger.yahoo.com ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Astrium disclaims any and all liability if this email transmission was virus corrupted, altered or falsified. - Astrium Limited, Registered in England and Wales No. 2449259 REGISTERED OFFICE:- Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu