Re: AW: [Veritas-bu] bpstart actions
Right thats great. As often i looked into it way too deep. Cheers Hansen, Heiko, VF EITO wrote: > Right. And the backup will fail with exit code 73 ("bpstart_notify failed"). > > Heiko > > -- > Vodafone Information Systems GmbH > Storage Management (VIS-THDS) > Dipl.-Ing. Heiko Hansen > Rehhecke 50 > D-40885 Ratingen > > Post: > Postfach 104264 > D-40853 Ratingen > > Tel. +49 2102 97-1030 > Fax +49 2102 97-70-1030 > > mailto:[EMAIL PROTECTED] > http://www.vodafone-is.de > > >> -Ursprüngliche Nachricht- >> Von: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Im Auftrag >> von Bobby Williams >> Gesendet: Mittwoch, 19. April 2006 12:15 >> An: [EMAIL PROTECTED]; veritas-bu@mailman.eng.auburn.edu >> Betreff: RE: [Veritas-bu] bpstart actions >> >> >> Anything besides an exit code of "0" zero will cause the >> backup to fail. >> >> >> if [ some test ];then >> exit 2 >> fi >> >> >> >> >> Bobby Williams >> 2205 Peterson Drive >> Chattanooga, Tennessee 37421 >> 423-296-8200 >> >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of >> Dave Markham >> Sent: Wednesday, April 19, 2006 5:57 AM >> To: veritas-bu@mailman.eng.auburn.edu >> Subject: [Veritas-bu] bpstart actions >> >> Running Netbackup 5.1mp4 on solaris 9. >> >> I need to get some start scripts to check things before my >> backup runs on a >> particular host. I was going to do this with >> bpstart_notify. to >> check the status of a log file. If successfully then continue. >> >> Im wondering what to do if the status of the logfile means i >> dont want the >> backup to run, and then how will this get passed to netbackup >> in an exit >> code. What can i put in bpstart so it doesnt launch the >> backup to tape for >> that client and actually chucks some error code out through >> netbackup to >> view on job monitor or my daily report? >> >> Anyone tried this? >> >> Cheers >> ___ >> 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 > > ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
AW: [Veritas-bu] bpstart actions
Right. And the backup will fail with exit code 73 ("bpstart_notify failed"). Heiko -- Vodafone Information Systems GmbH Storage Management (VIS-THDS) Dipl.-Ing. Heiko Hansen Rehhecke 50 D-40885 Ratingen Post: Postfach 104264 D-40853 Ratingen Tel. +49 2102 97-1030 Fax +49 2102 97-70-1030 mailto:[EMAIL PROTECTED] http://www.vodafone-is.de > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag > von Bobby Williams > Gesendet: Mittwoch, 19. April 2006 12:15 > An: [EMAIL PROTECTED]; veritas-bu@mailman.eng.auburn.edu > Betreff: RE: [Veritas-bu] bpstart actions > > > Anything besides an exit code of "0" zero will cause the > backup to fail. > > > if [ some test ];then > exit 2 > fi > > > > > Bobby Williams > 2205 Peterson Drive > Chattanooga, Tennessee 37421 > 423-296-8200 > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Dave Markham > Sent: Wednesday, April 19, 2006 5:57 AM > To: veritas-bu@mailman.eng.auburn.edu > Subject: [Veritas-bu] bpstart actions > > Running Netbackup 5.1mp4 on solaris 9. > > I need to get some start scripts to check things before my > backup runs on a > particular host. I was going to do this with > bpstart_notify. to > check the status of a log file. If successfully then continue. > > Im wondering what to do if the status of the logfile means i > dont want the > backup to run, and then how will this get passed to netbackup > in an exit > code. What can i put in bpstart so it doesnt launch the > backup to tape for > that client and actually chucks some error code out through > netbackup to > view on job monitor or my daily report? > > Anyone tried this? > > Cheers > ___ > 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] bpstart actions
Anything besides an exit code of "0" zero will cause the backup to fail. if [ some test ];then exit 2 fi Bobby Williams 2205 Peterson Drive Chattanooga, Tennessee 37421 423-296-8200 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Markham Sent: Wednesday, April 19, 2006 5:57 AM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] bpstart actions Running Netbackup 5.1mp4 on solaris 9. I need to get some start scripts to check things before my backup runs on a particular host. I was going to do this with bpstart_notify. to check the status of a log file. If successfully then continue. Im wondering what to do if the status of the logfile means i dont want the backup to run, and then how will this get passed to netbackup in an exit code. What can i put in bpstart so it doesnt launch the backup to tape for that client and actually chucks some error code out through netbackup to view on job monitor or my daily report? Anyone tried this? Cheers ___ 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] bpstart actions
Running Netbackup 5.1mp4 on solaris 9. I need to get some start scripts to check things before my backup runs on a particular host. I was going to do this with bpstart_notify. to check the status of a log file. If successfully then continue. Im wondering what to do if the status of the logfile means i dont want the backup to run, and then how will this get passed to netbackup in an exit code. What can i put in bpstart so it doesnt launch the backup to tape for that client and actually chucks some error code out through netbackup to view on job monitor or my daily report? Anyone tried this? Cheers ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu