Re: [Veritas-bu] Alert! Backups might not be triggering!!!!
Smitha, Below is the script. Try it and let me know if it works for you. bpdbjobs | grep -i policyname | grep -i monthly > monthly bpdbjobs | grep -i policyname | grep -i yearly > yearly if [ -s "monthly" ] then mailx -s "Monthly backups ran successfully for policy policyname" a...@xyz.com < monthly else mailx -s "Monthly backups did not ran for policy policyname" a...@xyz.com < monthly fi if [ -s "yearly" ] then mailx -s "Yearly backups ran successfully for policy policyname" a...@xyz.com< yearly else mailx -s "Yearly backups did not ran for policy policyname" a...@xyz.com < yearly fi On Tue, May 29, 2012 at 10:49 AM, nbuser wrote: > Yes sure. I will send you soon. > > On May 25, 2012 9:56 PM, "reddi72" wrote: > > > > Thanks nbuser!!! That sounds like something that might work in my case - > Do you happen to have a script that i can use ? > > > > +-- > > |This was sent by smitharedd...@hotmail.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] Alert! Backups might not be triggering!!!!
Yes sure. I will send you soon. On May 25, 2012 9:56 PM, "reddi72" wrote: > > Thanks nbuser!!! That sounds like something that might work in my case - Do you happen to have a script that i can use ? > > +-- > |This was sent by smitharedd...@hotmail.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] Alert! Backups might not be triggering!!!!
Thanks nbuser!!! That sounds like something that might work in my case - Do you happen to have a script that i can use ? +-- |This was sent by smitharedd...@hotmail.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
Re: [Veritas-bu] Alert! Backups might not be triggering!!!! - try nbpemreq -predict_all
If you have backup schedules stepping on each other, you might try this... I run the nbpemreq -predict_all command at midnight and have my operations staff check off the backups as they run. Now you have a paper trail for audits as well... Run from cron at 00:00, use command nbpemreq -predict_all -date `date +%d/%m/%Y` Date: Fri, 25 May 2012 20:28:10 +0530 From: nbuser Subject: Re: [Veritas-bu] Alert! Backups might not be triggering To: VERITAS-BU@mailman.eng.auburn.edu Message-ID: Content-Type: text/plain; charset="iso-8859-1" I am giving a scenario where monthly and yearly backups run on every First Sunday of the month. What you can do is write a script which will run every monday morning and which will check backups for that particular client which ran in last 24 hours. If it doesn't find the yearly schedule it will send a mail to the user with the warning. On Fri, May 25, 2012 at 7:11 PM, reddi72 wrote: > Thanks for all the responses!!! Currently , i am not looking at how to get > around this ,But, How to catch such situations proactively and get alerted > ? > > +-- > |This was sent by smitharedd...@hotmail.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
Re: [Veritas-bu] Alert! Backups might not be triggering!!!!
I am giving a scenario where monthly and yearly backups run on every First Sunday of the month. What you can do is write a script which will run every monday morning and which will check backups for that particular client which ran in last 24 hours. If it doesn't find the yearly schedule it will send a mail to the user with the warning. On Fri, May 25, 2012 at 7:11 PM, reddi72 wrote: > Thanks for all the responses!!! Currently , i am not looking at how to get > around this ,But, How to catch such situations proactively and get alerted > ? > > +-- > |This was sent by smitharedd...@hotmail.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] Alert! Backups might not be triggering!!!!
Thanks for all the responses!!! Currently , i am not looking at how to get around this ,But, How to catch such situations proactively and get alerted ? +-- |This was sent by smitharedd...@hotmail.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
Re: [Veritas-bu] Alert! Backups might not be triggering!!!!
I schedule my longer retention backups for the same time slot. In that case, the scheduler will always pick the schedule that hasn't run recently, it won't run both. For that yearly retention schedule I set it up to perform Multiple Copies, and then have 1 copy - the Primary - with my normal monthly backup retention, and the other one for my yearly backup with the required retention on that one. I have found the inline copy does not take any longer than the normal backup. Hope this helps. Linda B. >>> reddi72 24/05/2012 5:33 pm >>> Environment - Netbackup 6.5.5 running on sun Solaris using Calender based scheduling Last day of December we had a situation, where we had both monthly and yearly backup scheduled to be run on the same day , and while the monthly backup was running , the yearly backup ran out of the backup window and so the yearly backup never got triggered . When a audit was ran , we discovered that the yearly backup never ran -- So now,I was hoping that one of you Netbackup Guru's might help me with some kind of alert/monitoring script that will notify us when a particular scheduled backup which was suppose to be ran on a particular day doesn't run ? Thanks in Advance!!! Reds +-- |This was sent by smitharedd...@hotmail.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 THIS MESSAGE IS FOR THE USE OF THE INTENDED RECIPIENT(S) ONLY AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, PROPRIETARY, CONFIDENTIAL, AND/OR EXEMPT FROM DISCLOSURE UNDER ANY RELEVANT PRIVACY LEGISLATION. No rights to any privilege have been waived. If you are not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying, conversion to hard copy, taking of action in reliance on or other use of this communication is strictly prohibited. If you are not the intended recipient and have received this message in error, please notify me by return e-mail and delete or destroy all copies of this message. ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Alert! Backups might not be triggering!!!!
To get around this (multiple calendar backups are weighted the same in the nbpem scheduler) I have set all of my less frequent backups to trigger 10 minutes earlier. For example: normal daily backup is 10pm-2am (frequency based 8 hours) monthly backup 10pm-2am (calendar, last day of the month) yearly 9:50pm-2am (calendar, last day of the year) this works well for me. Cheers, Nic From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Gregory Demilde Sent: 25 May 2012 09:31 To: Peter Mosopa Cc: veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Alert! Backups might not be triggering My understanding with calendar based backups is that only one schedule can run within a day. This has been verified with early releases of 6.5. Now in 7.1 I have seen two calendar schedules run on the same day but not at the same time. The second to run basically waited the first one to finish. Now apparently in your case Smitha, the jobs for the second schedule failed then you should be able to catch the error :o) Greg On Fri, May 25, 2012 at 9:43 AM, Peter Mosopa mailto:peter.mos...@multichoice.co.za>> wrote: Hi, If you don't get any luck to get a script, please make use of the "Exclude Dates" which works like a wonder, I've got exactly the same schedules whereby at the end of March I'm running a yearly backup instead of a monthly. The monthly schedule is excluded at the end of March and the yearly one kicks in. Regards From: veritas-bu-boun...@mailman.eng.auburn.edu<mailto:veritas-bu-boun...@mailman.eng.auburn.edu> [mailto:veritas-bu-boun...@mailman.eng.auburn.edu<mailto:veritas-bu-boun...@mailman.eng.auburn.edu>] On Behalf Of Smitha reddy Sent: 24May2012 23:42 To: veritas-bu@mailman.eng.auburn.edu<mailto:veritas-bu@mailman.eng.auburn.edu> Subject: [Veritas-bu] Alert! Backups might not be triggering Environment - Netbackup 6.5.5 running on sun Solaris using Calender based scheduling Last day of December we had a situation, where we had both monthly and yearly backup scheduled to be run on the same day , and while the monthly backup was running , the yearly backup ran out of the backup window and so the yearly backup never got triggered . When a audit was ran , we discovered that the yearly backup never ran -- So now,I was hoping that one of you Netbackup Guru's might help me with some kind of alert/monitoring script that will notify us when a particular scheduled backup which was suppose to be ran on a particular day doesn't run ? Thanks in Advance!!! Reds ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu<mailto:Veritas-bu@mailman.eng.auburn.edu> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu The information contained in this e-mail and its attachments is confidential. It is intended only for the named address(es) and may not be disclosed to anyone else without Attenda's consent. ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Alert! Backups might not be triggering!!!!
What you can do now, is to find these monthly backup images and change the retention to the yearly retention. From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Gregory Demilde Sent: Friday, May 25, 2012 11:31 AM To: Peter Mosopa Cc: veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Alert! Backups might not be triggering My understanding with calendar based backups is that only one schedule can run within a day. This has been verified with early releases of 6.5. Now in 7.1 I have seen two calendar schedules run on the same day but not at the same time. The second to run basically waited the first one to finish. Now apparently in your case Smitha, the jobs for the second schedule failed then you should be able to catch the error :o) Greg On Fri, May 25, 2012 at 9:43 AM, Peter Mosopa wrote: Hi, If you don't get any luck to get a script, please make use of the "Exclude Dates" which works like a wonder, I've got exactly the same schedules whereby at the end of March I'm running a yearly backup instead of a monthly. The monthly schedule is excluded at the end of March and the yearly one kicks in. Regards From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Smitha reddy Sent: 24May2012 23:42 To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] Alert! Backups might not be triggering Environment - Netbackup 6.5.5 running on sun Solaris using Calender based scheduling Last day of December we had a situation, where we had both monthly and yearly backup scheduled to be run on the same day , and while the monthly backup was running , the yearly backup ran out of the backup window and so the yearly backup never got triggered . When a audit was ran , we discovered that the yearly backup never ran -- So now,I was hoping that one of you Netbackup Guru's might help me with some kind of alert/monitoring script that will notify us when a particular scheduled backup which was suppose to be ran on a particular day doesn't run ? Thanks in Advance!!! Reds ___ 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] Alert! Backups might not be triggering!!!!
My understanding with calendar based backups is that only one schedule can run within a day. This has been verified with early releases of 6.5. Now in 7.1 I have seen two calendar schedules run on the same day but not at the same time. The second to run basically waited the first one to finish. Now apparently in your case Smitha, the jobs for the second schedule failed then you should be able to catch the error :o) Greg On Fri, May 25, 2012 at 9:43 AM, Peter Mosopa < peter.mos...@multichoice.co.za> wrote: > Hi, > > ** ** > > If you don’t get any luck to get a script, please make use of the “Exclude > Dates” which works like a wonder, I’ve got exactly the same schedules > whereby at the end of March I’m running a yearly backup instead of a > monthly. The monthly schedule is excluded at the end of March and the > yearly one kicks in. > > ** ** > > Regards > > ** ** > > *From:* veritas-bu-boun...@mailman.eng.auburn.edu [mailto: > veritas-bu-boun...@mailman.eng.auburn.edu] *On Behalf Of *Smitha reddy > *Sent:* 24May2012 23:42 > *To:* veritas-bu@mailman.eng.auburn.edu > *Subject:* [Veritas-bu] Alert! Backups might not be triggering > > ** ** > > Environment - Netbackup 6.5.5 running on sun Solaris using Calender based > scheduling > > Last day of December we had a situation, where we had both monthly and > yearly backup scheduled to be run on the same day , and while the monthly > backup was running , the yearly backup ran out of the backup window and so > the yearly backup never got triggered . > > When a audit was ran , we discovered that the yearly backup never ran -- > So now,I was hoping that one of you Netbackup Guru's might help me with > some kind of alert/monitoring script that will notify us when a particular > scheduled backup which was suppose to be ran on a particular day doesn't > run ? > > Thanks in Advance!!! > Reds > > ___ > 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] Alert! Backups might not be triggering!!!!
Hi, If you don't get any luck to get a script, please make use of the "Exclude Dates" which works like a wonder, I've got exactly the same schedules whereby at the end of March I'm running a yearly backup instead of a monthly. The monthly schedule is excluded at the end of March and the yearly one kicks in. Regards From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Smitha reddy Sent: 24May2012 23:42 To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] Alert! Backups might not be triggering Environment - Netbackup 6.5.5 running on sun Solaris using Calender based scheduling Last day of December we had a situation, where we had both monthly and yearly backup scheduled to be run on the same day , and while the monthly backup was running , the yearly backup ran out of the backup window and so the yearly backup never got triggered . When a audit was ran , we discovered that the yearly backup never ran -- So now,I was hoping that one of you Netbackup Guru's might help me with some kind of alert/monitoring script that will notify us when a particular scheduled backup which was suppose to be ran on a particular day doesn't run ? Thanks in Advance!!! Reds ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
[Veritas-bu] Alert! Backups might not be triggering!!!!
Environment - Netbackup 6.5.5 running on sun Solaris using Calender based scheduling Last day of December we had a situation, where we had both monthly and yearly backup scheduled to be run on the same day , and while the monthly backup was running , the yearly backup ran out of the backup window and so the yearly backup never got triggered . When a audit was ran , we discovered that the yearly backup never ran -- So now,I was hoping that one of you Netbackup Guru's might help me with some kind of alert/monitoring script that will notify us when a particular scheduled backup which was suppose to be ran on a particular day doesn't run ? Thanks in Advance!!! Reds ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
[Veritas-bu] Alert! Backups might not be triggering!!!!
Environment - Netbackup 6.5.5 running on sun Solaris using Calender based scheduling Last day of December we had a situation, where we had both monthly and yearly backup scheduled to be run on the same day , and while the monthly backup was running , the yearly backup ran out of the backup window and so the yearly backup never got triggered . When a audit was ran , we discovered that the yearly backup never ran -- So now,I was hoping that one of you Netbackup Guru's might help me with some kind of alert/monitoring script that will notify us when a particular scheduled backup which was suppose to be ran on a particular day doesn't run ? Thanks in Advance!!! Reds +-- |This was sent by smitharedd...@hotmail.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