Veritas-bu

[Veritas-bu] Multiple data stream and bpend_notify script

2005-11-08 07:40:10
Subject: [Veritas-bu] Multiple data stream and bpend_notify script
From: ewilts AT ewilts DOT org (Ed Wilts)
Date: Tue, 8 Nov 2005 06:40:10 -0600
On Tue, Nov 08, 2005 at 11:37:23AM +0200, Asiye YiÄ?it wrote:
> We have a file system backup. It is being backuped as multiple data
> stream.
> We are backing up offline sql backup. So, in the bpend_notify script,
> There is start command to start sql after finishing backup.
> As there are multiple data stream, after completion of each data stream,
> Nb run bpend_notify script. 

You can fight with this for a long time, but frankly you won't solve
this.  There will be cases where SQL will not get started and there's
not much you can do about it because NetBackup does not give you the
hooks you need to solve this properly.  Think about the cases where a
single stream fails and needs to be restarted.  You'll find yourself in
a situation where your database was either not shut down first because
you had already started it, or you'll find that the database was never
started after all of your backups have completed.  There is no guarantee
as to which stream will end first.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:ewilts AT ewilts DOT org