Vous êtes sur la page 1sur 5

ster Server Daemons/Processes

Request daemon
Netbackup database manager
Job Monitor

bpsched (started with bprd)
bpdbm (started with bpsched)
bpjobd (started with bpdbm)

Media Server Daemons/Processes

Communications daemon
Backup and restore manager
Tape Manager
Disk Manager
Media Manager
Bar code reader
Remote device management/ controls volume database
Roboticdaemon (one on each media server) talks to tldcd
Robotic control daemon talks to the robot directl via scsi

bpbrm (started with bpcd)
bptm (started with bpbrm)
bpdm (started with bpbrm)
avrd (started with ltid)
vmd (started with ltid)
tldd (started with ltid)
tldcd (started with ltid)

Master Server
Information about backed-up files
Storage Unit, Global Configuration, Catalog backup
Backup Policy information
Job status information
Netbackup logs with error and status information
Information on volumes, volume pools, scratch pool and
volume groups
Media Server
Tracks assigned volumes (media that has data them)

image - /opt/openv/netbackup/db
config - /opt/openv/netbackup/db
class - /opt/openv/netbackup/db
jobs - /opt/openv/netbackup/db
error - /opt/openv/netbackup/db
volume /opt/openv/volmgr/database

media - /opt/openv/netbackup/db
device Information about devices managed by the media server
Log and Information Files
Netbackup and Patch
Media Version
Patch Level history
Buffer size
Number of buffers
Network Buffer Size
Java GUI authorisation
Catalog type (binary or

/opt/openv/netbackup/NET_BUFFER_SZ (default = 32)

Netbackup and media
manager parameter files
Corrupt Database image files
(5.0 and above)
Server Commands
Check license details

netbackup start

Start Netbackup

/opt/openv/netbackup/bin/initbprd (master)
/opt/openv/volmgr/bin/vmd (media)

netbackup stop
Stop Netbackup (does not
disconnect GUI sessions)

/opt/openv/netbackup/bin/admincmd/bprdreq -terminate
/opt/openv/netbackup/bin/bpdbm -terminate (master)

Stop Netbackup and kill all GUI

Start the GUI
sgscan (solaris)
Scan for tape devices
ioscan (HPUX)
Display all Netbackup processes bpps -a
lists servers errors
display information on a error
Reread bp.conf file without
stopping Netbackup

bperror -U -problems -hoursago <number of hours>

bperror -U -backstat -by_statcode -hoursago <number of
bperror -statuscode <statuscode> [-recommendation]
bprdreq -rereadconfig
bpdbm -consistency 1
bpdbm -consistency 2

Check database consistency

Check for the below lines:

Bad image header
Does not exist

Netbackup Recovery
Device catalog is intact

bprecover -l -m <media ID> -d dlt (listing)

bprecover -r -m <media ID> -d dlt (recovering)

Device catalog is gone or

Disk backups

bprecover -l -tpath <tape_path> (listing)

bprecover -r -tpath <tape_path> (recovering)
bprecover -l -dpath <disk_path> (listing)
bprecover -r -dpath <disk_path> (recovering)

Volume Commands
Tape Drive and Inventory Commands
List drive status, detail drive
info and pending requests
List the tape drive status
vmoprcmd -d ds
List the pending requests
vmoprcmd -d pr
Control a tape device
vmoprcmd [-reset][-up][-down] <drive number>
List all changes in the
robot(but do not update)
Empty the robot and reinventory (using barcodes)
Tape Media Commands
List all pools
List tapes in pool
List all tapes in the robot
List cleaning tapes
List tape volume details
Delete a volume from the
Change a tapes expiry date
Change a tape's media pool

vmupdate -recommend -rt tld -rn 0

vmcheckxxx -rt tld -rn 0 -recommend
vmupdate -rt tld -rn <robot number> -rh <silo slave> -vh
<host> -nostderr -use_barcode_rules -use_seed -empty_ie
vmpool -listall -bx
vmquery -pn <pool name> -bx
vmquery -rn 0 -bx |grep 'TLD' | sort +4
vmquery -mt dlt_clean -bx
vmquery -m <media ID>
vmdelete -m <media ID>
vmchange -exp 12/31/06 23:59:58 -m <media ID>
vmchange -p <pool number> -m <media ID>

Media commands
List the storage units
Freeze or unfreeze media
List media details
List media contents
List backup Image Information
Expire client images
Expire a tape
List all netbackups jobs
Move media from one media server
to another

bpstulist -U
bpmedia [-freeze][-unfreeze] -ev <media ID>
bpmedialist -ev <media ID>
bpmedialist -U mcontents -m <media ID>
bpimagelist -backupid <image ID>
bpimage -cleanup -allclients
bpexpdate -d 0 -ev <media ID> -force
bpdbjobs -report [-hoursago]
bpmedia -movedb -newserver <media server>
-oldserver <media server>

Tape/Robot commands
List tape drives

tpconfig -d

List cleaning times on drives

clean a drive
change a drives cleaning frequency
set a drives cleaning time to zero

tpclean -L
tpclean -C <drive number>
tpclean -F <drive> <frequency>
tpclean -M <drive>
commands that can be used are as follows:

Move tapes within robot using robtest

List load port tapes

List all slot contents
List tape drive contents
Move a tape in s100 to drive 1
Move a tape to load port 1

(show slots)
(show drives)
(show load port)
m s250 d5 (move tape from slot 250 into drive 5)
uload d5 (unload tape from drive 5)
m d5 s250 (move tape from drive 5 to slot 250)
m s250 i1 (mov tape from slot 250 to load port 1)

echo "s i q" | tldtest -r /dev/sg/c0t4l0

echo "s s q" | tldtest -r /dev/sg/c0t4l0
echo "s d q" | tldtest -r /dev/sg/c0t4l0
echo "m s100 d1" | tldtest -r /dev/sg/c0t4l0
echo "m s100 i1" | tldtest -r /dev/sg/c0t4l0

Archiving Commands

list archive info

bpcatlist -client all -before Jul 01 2006

bpcatlist -client all -before Aug 01 2006

archive and remove images

bpcatlist -before Jul 01 2006 | bpcatarc | bpcatrm

restore archive files

bpcatlist -before Jul 01 2006 | bpcatres

Client commands

test client connectivity

bpclntcmd [-ip <ip addres>]

bpclntcmd [-hn <hostname>]
bpclntcmd [-pn]
bpclntcmd [-sv]

IMP commands

vmoprcmd -d ds
vmoprcmd -d pr
vmquery -a
vmdelete -m A00000
bpexpdate -m A00000 -d 0
bpclntcmd -pn
bpclntcmd -ip
bpclntcmd -hn win-client-2
- NetBackup 7, Server 2008 R2
Ran into an issue where our old backup server was no longer operational and we had to create a new NetBackup
server along with upgrading the version. Had to recall all our tapes to import them into the catalog. Here is what
needed to be done for each tape to import them.
Phase 1:
Open the cmd prompt and change your directory to \Program Files\Veritas\NetBackup\Bin\admincmd\
Type in bpimport -create_db_info -id <media id> -server <master_server_hostname> -L <location of log file>
You can check the status of this phase on the Activity Monitor

Phase 2
Open the cmd prompt and change your directory to \Program Files\Veritas\NetBackup\bin\admincmd\
Type in bpimport -id <media id> -s <start date> -e <end date> -L <location of log file>
You can check the status of this phase on the Activity Monitor
Thats it. Once both phases are completed your done.