|  
 | /usr/openv/netbackup/bin/admincmd/get_license_key  |  ;license key utility |  
 | /usr/openv/var/license.txt  |  ;license key file |  
 | /usr/openv/netbackup/bp.conf  |  ;netbackup parameters, read or start only |  
 | /usr/openv/volmgr/vm.conf  |  ;media manager parameters |  
 | /usr/openv/java/nbj.conf  |  ;netbackup java console parameters |  
 | pkginfo -l SYMCnetbp  |  ;package details |  
 | /usr/openv/netbackup/bin/version  |  ;version |  
 | cat /usr/openv/pack/pack.summary  |  ;patch history |  
 | bpconfig -L  |  ;modify or display global configuration attributes |  
 | bpconfig -tries 3 -period 12  |  ;sets backup tries to 3 for every 12 hours |  
 | touch /usr/openv/volmgr/debug  |  ;enable media manager logging |  
 | touch /usr/openv/netbackup/logs  |  ;enable netbackup logging, create dir beneath i.e bptm |  
 | cat /usr/openv/netbackup/db/config/sync  |  ;master server global attributes - set via gui |  
 | /usr/openv/netbackup/bin/goodies/support/support > support.txt  |  ;service support request file |  
 | /usr/openv/netbackup/bin/nonroot_admin  |  ;non root users specify group, version 4.5 |  
 | /usr/openv/java/auth.conf  |  ;non root users authorisation file |  
 | /usr/openv/netbackup/exclude_list  |  ;exclude list file for all policy |  
 | /usr/openv/netbackup/include_list  |  ;include list file |  
  
    |   
    |  
  |  
 | tpconfig  |  ;tape configuration utility - menu or cli |  
 | tpconfig -d  |  ;display robot and drive info |  
 | tpconfig -delete -robot 0  |  ;delete robot zero |  
 | tpconfig -add -robot 0 -robtype tld -robpath /dev/sg/c2t0l1  |  ;add robot |  
 | ls /dev/rmt/0cbn  |  ;c - compression, b - berkley style, n - no rewind |  
 | vmoprcmd  |  ;shows pending requests, drive status |  
 | vmoprcmd -up 0  |  ;perform operator functions on drives i.e up drive |  
 | vmoprcmd -d pr  |  ;displays pending requests |  
 | mmcrawl  |  ;checks media server for conflicts |  
 | bpstulist  |  ;see list of storage units |  
 | sgscan [all|basic|changer|disk|tape]  |  ;display tape devices |  
 | tpclean -L  |  ;print cleaning statistics |  
  
    |   
    |  
  |  
 | /etc/init.d/netbackup [start|stop] |  ;startup scripts |  
 | bpps -a  |  ;check running processes or use gui activity monitor |  
 | /usr/openv/netbackup/bin/goodies/bp.kill_all  |  ;another stop method |  
 | /usr/openv/netbackup/bin/initbprd  |  ;starts master server request daemon |  
 | /usr/openv/netbackup/bin/admincmd/bprdreq -terminate  |  ;stop master server request daemon bprd |  
 | /usr/openv/netbackup/bin/initbpdbm  |  ;start master server catalog manager daemon  |  
 | /usr/openv/netbackup/bin/bpdm -terminate  |  ;stop master server catalog manager daemon |  
 | /usr/openv/volmgr/bin/vmd  |  ;starts media manager daemons |  
 | /usr/openv/volmgr/bin/ltid -v  |  ;media manager logical tape interface daemon, debug mode |  
 | /usr/openv/volmgr/bin/stopltid  |  ;stops ltid |  
 | jnbSA  |  ;admin tool to configure media and device manager |  
 | bpjava-msvc  |  ;application server authentication service for jnbSA |  
 | jbpSA  |  ;client tool backup, archives and restores |  
 | bpjava-susvc  |  ;application server handles all requests for jnbSA |  
  
    |   
    |  
  |  
 | Catalogs  |    |  
 | vmcheckxxx -rt tld -rn 0 -rh xxx -h xxx -M xxx  |  ;shows robot contents, media and mismatch column |  
 | vmcheckxxx -rt tld -rn 0 -rh xxx -h xxx -recommend  |  ;only shows proposed changes |  
 | vmupdate -rt tld -rn 0 -rh xxx -h xxx  |  ;update volume from robot contents |  
 | bpbackupdb  |  ;catalog backup |  
 | bprecover -l -m $myvol -d hcart  |  ;determine most recent catalog |  
 | bprecover -r -m $myvol -d hcart  |  ;restoring catalog |  
 | Query  |    |  
 | vmquery -m $myvol  |  ;query volume db (master) - details |  
 | vmquery -a -b -h xxx  |  ;query volume db (master) - brief one line |  
 | vmquery -b -p 3 -h xxx  |  ;query volume db (master) - pool number 3 |  
 | bpimmedia -L -mediaid $myvol  |  ;query images db, display info of images on media |  
 | bpimagelist -d 12/17/08 18:00:00 -e 12/17/08 22:00:00 -U | awk '{ total += $5 } END { print total }' |  ;query images db, sum bytes  |  
 | bpimagelist -st CINC -media -d 12/17/08 18:00:00 -e 12/17/08 22:00:00 -U |  ;query images db, report on CINC |  
 | bpmedialist -L -m $myvol  |  ;query media db, see media server used |  
 | bpmedialist -summary  |  ;query media db, GOOD media summary report |  
 | Expire  |    |  
 | bpexpdate -m $myvol -d 0  |  ;expires media, see separate removal per catalog below |  
 | bpexpdate -m $myvol -d 0 -host xxx -justmedia -force  |  ;delete media id from media catalog |  
 | bpexpdate -ev $myvol -d 0 -justimage -force  |  ;delete media id from image database |  
 | vmdelete -m $myvol  |  ;delete media id from volume database |  
 | bpexpdate -m $myvol -d infinity -host xxx -M xxx |  ;set retention time, see bpmedialist |  
 | vmchange -h xxx -exp 12/31/03 23:59:59 -m $myvol  |  ;change media expiry date to Dec 31 |  
 | State  |    |  
 | bperror -media -d 03/10/05 01:00:00 -e 03/10/05 23:00:00 -U  |  ;expired media info |  
 | ls /usr/openv/netbackup/db/media/errors |  ;see media errors |  
 | bpmedia -freeze -m $myvol  |  ;freeze, unfreeze, suspend, unsuspend |  
 | bpmedia -movedb -m $myvol -newserver xxx -oldserver xxx  |  ;move media catalog |  
 | Pools  |    |  
 | vmpool -listall  |  ;list all volume pools |  
 | vmpool -add $mypool "Unix Full" ANYHOST -1 -2  |  ;add pool |  
 | vmpool -delete $mypool  |  ;delete pool |  
 | Other  |    |  
 | bpduplicate  |  ;duplicate tape |  
 | bpimport  |  ;import tape |  
 | bpverify -hoursago 2  |  ;verify image to image catalog - not client list |  
  
    |   
    |  
  |  
 | cd /usr/openv/netbackup/logs/user_ops/sanadm/logs |  ;see user logs |  
 | cd /usr/openv/netbackup/vault/sessions |  ;see eject session details |  
 | bperror -all -U -backstat -client $myclient  |  ;you can also use bperror to status of backups |  
 | bperror -backstat -d 12/17/08 18:00:00 -e 12/17/08 22:00:00 -U |  ;display jobs by status |  
 | bpdbjobs -report | grep Active |  ;see active jobs |  
 | bpdbjobs | grep -i $myhost  |  ;see status for a host |  
 | bperror -statuscode 219 -recommendation  |  ;error help |  
 | bperror -U -backstat -by_statcode  |  ;nice summary of success by status code |  
 | bperror -backstat -server xxx -d 06/16/04 18:00:00 -e 06/17/04 17:00:00 -U  |  ;summary status |  
 | bperror -s error -server xxx -d 03/10/05 01:00:00 -e 03/10/05 23:00:00 -U  |  ;errors only |  
 | bpimagelist -d 12/17/08 18:00:00 -e 12/17/08 22:00:00 -U | awk '{ total += $5 } END { print total }' |  ;query images db, sum bytes  |  
 | bpimagelist -d 04/01/10 -e 04/01/10 -U -client $myclient  |  ;see results of backups and images |  
  
    |   
    |  
  |  
 | touch /usr/openv/netbackup/db/altnames/No.Restrictions  |  ;allow clients to restore to alternate clients  |  
 | bplist -C d1de0199.cpships.com -l -s 03/11/05 -R /export/home/  |  ;show files backed-up |  
 | bpbackup -p unix_USER -s weekend -S d1pr0009 -f /tmp/t.txt -w |  ;user-directed backup submit from client |  
 | bpbackup -p unix_DEV -s weekday -i -h d1pr0009  |  ;starts immediate backup (like starting manual from gui) |  
 | bprestore  |  ;cli |  
 | bparchive -p user_all -s user_archive -f listfile  |  ;archive (backup/remove) files |  
 | bpclient -max_jobs 2  |  ;only effects this client |  
 | bpclient -client d1pr0150.. -M d1pr0009.. -update -no_callback 1  |  ;client is updated to use vnetd |  
 | bpgp from serverA /etc/resolv.conf /tmp/resolv.conf  |  ;obsolete - get host file |  
 | /usr/openv/netbackup/bin/index_clients 9 d1de0102.cpships.com  |  ;index client catalogs, faster restore |  
 | /usr/openv/netbackup/bin/install_client_files ftp d1de0199 spi0004  |  ;copies to client  |  
 | /tmp/bp/bin/client_config -L  |  ;after running "above cmds", run as root on client |  
 | bpclntcmd -ip 10.140.129.1  |  ;discover hostname based on IP |  
 | bpclntcmd -hn c1pr0001.cpships.com  |  ;discover IP based on name |  
 | bpclntcmd -pn  |  ;used by client to test master server |  
 | bpclntcmd -sv  |  ;shows netbackup master server version |  
 | telnet "client" bpcd  |  ;check bpcd on client |  
 | telnet "master" bprd  |  ;check bprd on master |  
 | jnbSA  |  ;admin - configure media and device manager |  
 | bpadm  |  ;admin - admin character based |  
 | xbp  |  ;admin - X Windows |  
 | jbpSA  |  ;client - backup, archives and restores |  
 | bp  |  ;client - admin client based |  
  
    |   
    |  
  |  
 | /usr/openv/netbackup/exclude_list  |  ;exclude list file for all policy |  
 | /usr/openv/netbackup/exclude_list.${mypol}all  |  ;exclude list file for dev all policy |  
 | /usr/openv/netbackup/include_list  |  ;include list file |  
 | /usr/openv/netbackup/bin/goodies/check_coverage  |  ;produces what's backed-up in /tmp |  
 | bppolicynew unix_test  |  ;creates new policy |  
 | bppolicynew existing_policy_name -renameto policy_name -M master  |  ;create, rename policy |  
 | ls /usr/openv/netbackup/db/class  |  ;directory location of policies |  
 | bpplinfo $mypol -L  |  ;list policy details |  
 | bpplinfo olicy -modify -residence tstunit  |  ;set policy STU to testunit |  
 | bpplclients $mypol -L | awk '{print $2}'  |  ;see list of client for this policy |  
 | bpplclients $mypol -add d1de0199 Solaris Solaris9  |  ;add client to policy |  
 | bpplinclude $mypol -l  |  ;set file lists with policy |  
 | bpplinclude $mypol -add /usr  |  ;add /usr directory to file list |  
 | bpplsched $mypol -L -label weekend | grep EXCLUDE  |  ;weekend exclude dates |  
 | bpplsched $mypol -add weekday -st CINC -rl 3 -freq 604800 -window 64800 43200  |  ;add,delete,list |  
 | bpplschedrep $mypol -rl 2  |  ;modify (change) schedules, bpplsched does add/delete/list |  
 | bpplschedwin  |  ;modify window within policy |  
  
    |   
    |