Veritas-bu

[Veritas-bu] automate NBU to run a program

2004-06-15 12:10:16
Subject: [Veritas-bu] automate NBU to run a program
From: SC" <discussion.groups AT NOSPAM.gmx DOT net (SC)
Date: Wed, 16 Jun 2004 00:10:16 +0800
how can i do this on a windows system??

----- Original Message ----- 
From: "Peter DrakeUnderkoffler" <pcd AT xinupro DOT com>
To: "Dan Logcher" <dlogcher AT MIT DOT EDU>
Cc: <veritas-bu AT mailman.eng.auburn DOT edu>
Sent: Tuesday, June 15, 2004 11:03 PM
Subject: Re: [Veritas-bu] automate NBU to run a program


> Dan Logcher wrote:
>
> > SC wrote:
> >
> >> i find that bpend_notify runs everytime it finishes a backup stream.
> >> i have 3 in the schedule and my program was executed 3 times.
> >>
> >> how can i configure it to run only once at the end of the last backup?
> >
> >
> > I want to do the same thing, so I've decided to write the start and end
> > notify to create lockfiles for each stream and remove them on
completion.
> > At which point the end script can check for any outstanding locks and
run
> > the all_done script if none exist for the particular backup.
> >
> > Has anyone tried this already?
> >
>
>
> Yes,  don't use files as locks since they are not atomic.  You have no
> control over which
> stream is running when and in what order.  Using "touch" or something else
> to create a lock file, both could happen at the same time.  I use
> "mkdir" and it's
> success status instead.  You still need to take into account cleanup in
the
> event of a job cancelation.  Veritas has made very little effort to make
> this capability easily attainable.
>
> Thanks
> Peter
>
>
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
>



<Prev in Thread] Current Thread [Next in Thread>