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.

bpend_notify script on client not running?

Updated: 22 May 2010 | 3 comments
Russell Manaois's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

NetBackup:  Single master/media, Solaris 10,  ver. 6.0MP4

Trying to run bpend_notify.<policy>.<policy schedule>.bat on a Windows 2003 client.  Script consists of a single rm statement  to remove SQL .bak file after it has been backed up by policy.  I have run the policy manually, but the files are not removed.  I have placed the .bat file in both (...)netbackup/bin and (...)netbackup/bin/goodies client directories, and the script fails to run from either.

Are there any other factors that are precluding this executable from completing its task?

Thanks in advance for any information provided.

--Russell Manaois

Comments

gavrilov's picture
12
Nov
2009
2 Votes +2
Login to vote

I think in Windows it calls

I think in Windows it calls del not rm :)

Russell Manaois's picture
12
Nov
2009
0 Votes 0
Login to vote

Script still does not delete files

After modifying the .bat file and running the policy, files are still not deleted from the specified folder (D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\).

BAT file has single line:  del /F D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\*.bak

gavrilov's picture
12
Nov
2009
1 Vote +1
Login to vote

Try this: del /F "D:\Program

Try this:
del /F "D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\*.bak"