Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

sql services down during backup

Created: 13 Feb 2012 | 5 comments
rookie11's picture
0 0 Votes
Login to vote

Hi experts

problem i faced is :

sql services go down whenever filesystem backup is done. It is reported by sql dba since 4 consecutive days .they said sql services go down at sharp 6:30pm .[its the time when backup starts]. we are backing up only filesystem. ALL local drives

master , media server solaris 10, NBU 7.1, client win 2008 , NBU 7.1

Comments

Marianne van den Berg's picture
14
Feb
2012
3 Votes +3
Login to vote

Change the backup for tonight

Change the backup for tonight to start at 7pm!

Unless someone has added a bpstart_notify script to stop SQL services, I will take a bet that it is NOT NBU doing this. Create bpfis and bpbkar log folders to trace NBU actions.

Please ensure that *.mdf, *.ldf, *.ndf are excluded.

Ask system owner for text output of Event Viewer Application log and System log.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links

Mark_Solutions's picture
14
Feb
2012
0 Votes 0
Login to vote

Excellent advice from

Excellent advice from Marianne - I would check your bpstart_notify.bat before looking anywhere else - I cannot imagine anything else causing this apart from some sort of out of disk space / out of memory situation caused by the start of the backup

Authorised Symantec Consultant

Don't forget to give a "Thumbs Up" or mark as "Solution" if someones advice has helped you.

rookie11's picture
15
Feb
2012
0 Votes 0
Login to vote

yep. bpstart_notify_policy

yep. bpstart_notify_policy name.bat file brings down application service, then once backup is over bpend would bring the service up.

is this possible that bpstart_notify brought services down but due to some problem network issue or disk down bpend_notify was not called.

Marianne van den Berg's picture
15
Feb
2012
0 Votes 0
Login to vote

You need bpbkar log to see if

You need bpbkar log to see if bpend was called. Also look for <Install_path>\netbackup\bin\BPEND_RES

bpend is called is called even if backup failed. In the parameters passed to the script, %5 specifies the status of the operation.

You need to double-check logic in the script to see what action is specified in case of failure.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links

Marianne van den Berg's picture
16
Feb
2012
0 Votes 0
Login to vote

Some additional thoughts and

Some additional thoughts and observations:

  1. It seems that neither you nor the SQL dba knew about the bpstart_notify
  2. notify scripts must have been in place for some time, working well
  3. Seemingly downtime on the database is no longer acceptable
  4. Downtime using this method is needed for the duration of the backup - could mean many hours

If all of the above is true, it is advisable to consider different backup stragegies without start and end scripts, such as:

  1. NetBackup for SQL agent that can be used to make online, hot backups of all databases.
  2. SQL dba's do backups to disk. Backup the disk backups with Windows policy.

MOST companies use above methods as lengthy downtime of databases cannot be tollerated.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links