Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

What are the most useful netbackup commands you use?

Updated: 27 May 2010 | 7 comments
spooter's picture
0 0 Votes
Login to vote

What are the most useful netbackup commands you use?

I often use the bpdown command before rebooting the netbackup server but wonder if there is anything useful I am missing out on.

I also dont have access to the remote management features.  Is this easy to setup?

Comments

rjrumfelt's picture
26
Nov
2009
2 Votes +2
Login to vote

when downing NBU

I always use bpps -x, that lets me know that all NBU processes have been successfully taken down.

I've mentioned nbpemreq and several of its options: -predict, -suspend_scheduling and -resume_scheduling

bperror is pretty useful

tpconfig is always useful

nbrbutil is another good one if you need to know what resources are currently being used by NBU

lu's picture
26
Nov
2009
0 Votes 0
Login to vote

bpflist -d 1/1/1970 -client

bpflist -d 1/1/1970 -client $client -backupid $bpid -rl 999 | grep my_files to quickly find if some files are in a backup.

Claudio Veronezi's picture
26
Nov
2009
0 Votes 0
Login to vote

Scripts

I have made some scripts .. they are at the download session,

there is one
that show the total amount of backups police per police
ther is another one that show the average elapsed time of all policies (usefule to plane the backup window)

ther is another one I think thar Stuart Green make it, try to look for those scripts.

edit them all U will be able of finding a lot of good commands there

see ya

:wq!

Claudio Veronezi Mendes
EMC TA - Pre Sales at Compwire
Londrina - Pr - Brazil
 

Joe Despres's picture
26
Nov
2009
3 Votes +3
Login to vote

Functions...........

I've created functions for all the commands I use....

Unix only................

As example:

terror () {
tail -f /usr/openv/netbackup/db/error/daily_messages.log;}
checktapedrives () {
for td in `grep "^SERVER " /usr/openv/netbackup/bp.conf |awk '{print $3}'`
do
echo "********* $td *********"
vmoprcmd -h $td
done

get_NBU_errors () {
/usr/openv/netbackup/bin/admincmd/bperror -backstat -U|sed '1d'|awk '($1 > 1) {print $2, $5, $1}'|sort|uniq
}

With this method you can not only run one command...  But many at one time..

Joe Despres

fieldnmultistream's picture
26
Nov
2009
0 Votes 0
Login to vote

bpclntcmd

one of the most basic but useful troubleshooting commands

brant's picture
26
Nov
2009
0 Votes 0
Login to vote

Oh, I thought I have more

Oh, I thought I have more skills, but you guys taught me a lot~~~
^O^

---------------------------------------------------

Please kindly close this thread if it has been resolved.

Just mark the right answer as the relolution and thumds up.
O(∩_∩)O~

----------------------------------

Stuart Green's picture
27
Nov
2009
0 Votes 0
Login to vote

nbsu

Yes, nbsu, the support utility.
I class this as useful on two fronts:

1) Documenting your environment
2) The text files output, show netbackup commands that are a great way of learning how to get said output.

Also if you are on UNIX remember to add the man pages for the commands to the MANPATH so you dont have to dig out your PDF's
TN http://seer.entsupport.symantec.com/docs/275631.htm

Lastly, and still a great easter egg are some undocumented switches that still exist using the -Q switch after a number of commands.

Tip: Get overview/document your NBU environment. Run 'nbsu' and review the output.

• If this provides help, please vote or mark appropriate solution.