Something like this should do..
#!/bin/sh
snookiesucks=`bpdbjobs | grep -i done | wc -l`
$ if [ $snookiesucks -ge 200 ] ; then
echo "Over 200.." | mailx -s "Queue over 200.." your.email@somewhere.com
fi
Hi..
I am looking at backing up a couple hundred SQL servers which hold several thousand DB's..
I have the policy, and schedules setup, and the DBA then logs in one of the SQL servers, run the DB extention, tell it to backup the DB's and save the script. The DB's can now initiate user side...
I have pointed out the obvious, and do not think Sun is going away. The idea that Oracle would buy Sun, who's cash cow is hardware, then drop the hardware has me banging my head on the wall.
I keep hearing other vendors (IBM, HP-UX) have "offerings" to move people off of Sun. Hurm, as far as I...
Guys,
I am in the process of trying to get some Sun equipment on site, but as it often is, I am facing an uphill battle.
The current idea people are tossing around is, Sun has no future. I can find no proof of this, and considering the last quarter was a 20% growth in hardware sales, I do not...
Willster,
Thanks for that, it did the trick..
My MS script for this.. (I have Microsoft Windows Services for UNIX installed so life is not totaly bad...)
cat f:\vtl\avaliable_media.txt | grep -v NONE | grep FULL | c:\sfu\bin\awk "{print $1}" > f:\vtl\full_media.txt
for /f "tokens=1" %%G IN...
I can not recall how to get NBU to force the client to pre-generate a list of files to backup before the backup jobs start.
I have a server with loads of little files, millions of the buggers, and generating the list to backup while the backup runs is a bit slow.
What is the name of the...
In the GUI, when you pick your robot, you can filter on media status. If I filter with 'full' I get a list of tapes in the GUI.
I need to get that same list of tapes from command line, and for the life of me, I can not figure out how to get anything to show me 'full' and be useable...
Hi,
Master/Media Win2k3, NBU 6.0MP6
What could the outcome be if you install NBU 6.0 client on Win2008 (Not supported I know) and run a backup.
This was done, it backed up, it restored.
What would then happen if on the same Win2008 client the NBU 6.5 (not 6.5.2 so not supported again) client...
Naa, its not excludes I am after, its history, for security.
I am pretty sure you are correct, I am just not looking forward to explaining how I would need to gather the data for all historical backups. Security groups do not understand there is only so much time in a day. =)
With over 600...
Hi.. yeah, that works great. =)
Any other methods out there? Searching daily individual backups seems a bit clunky. Is there a way to scower the catalog? or?
Ok, so I need a sed or awk solution please..
Format of the files I am working with..
server235
,Pin=ALL_LOCAL_DRIVES
server236
,Pin=C:\,E:\
......skip a few.
server1000
,Pin=G:\,Z:\
So I have the data beaten this far into shape, but I can not get the two lines merged.. I am stuck in...
Resolved -
The problem was the policy, it was somehow mangeled, creating a new policy with a different name allowed the job to run fine.
So annoying! =)
Thanks for reading!
Server: ntabcd622
bpbackup command ran from server: ntabcd622
Problem - Policy exists as below, client is listed in policy, and policy has two user backup schedules. yet, I still get this.
D:\NetBackup\bin>bpbackup -p SQL -s SQL -w c:\autoexec.bat
EXIT STATUS 239: the specified client does not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.