Video Screencast Help

Backup start after some local job on server are finished

Created: 26 Apr 2013 | 4 comments

Hi all,

I searched the forum but did not find any answer.

We have on a window Server some jobs running (db backup and export) and I have to make sure the NetBackup job runs after the DB Jobs are executed. is there a way to check and wait of a specific eventid in eventlog or wait till a file is created (dummy file) to start and begin the backup?

Thanks in advance for your help



Operating Systems:

Comments 4 CommentsJump to latest comment

Jaykullar's picture

Hi, the obvious being scheduling software which will have dependencies for jobs.

If your using a script to do your db backup & export you could at into this script to call bpstart_notify which will call your backup to start. You can modify this to be specific, please see tech note below:

Jaykullar's picture

Hi, you can get your script to call bpstart_nofity (NBU script) once your db backup and export is complete.

To run the scripts for a specific schedule, rename the files to:

Enrique Pereira Calvo's picture

You can also start the backup manually with bpbackup -i -p <policy> in your script that exports the db. This command does the same as start a manual backup from the console.

The other common method is to run the dbexport from the bpstart_notify.policyname, but you would need to change the bpstart timeout and client timeout at the media server properties.

jim dalton's picture

As detailed issue with running the data prep phase in the pre script is timeouts and waiting for data. Typically a pre script is best suited for circumstances such as quiescing a DB, not so much doing a full db export to disk, though it could be of course.