srsn018 "Netbackup Important Commands and Explanations | Welcome to the World of UNI
‘Welcome to the World of UNIX
Netbackup Important Commands and Explanations
Master Server
1) Cheek the license details
Just/openv/netbackup/bin/adminemd/get_license_key
2) Stop and Start the netabackup services
i) /ete/init.d/netbackup stop (start) —> graceful stop and start
{i) /usr/openv/netbackup/bin/bp.kill_all_—> Stop backup including GUI sessions, ungraceful
iii) /ust/openv/netbackup/bin/bp.start_all —> Start the backup iv)
Jusr/openv/netbackup/bin/initbprd _ —> starts the master server
¥) /usr/openy/netbackup/bin/vmd —> starts the media server
vi) /usr/openv/netbackup/bin/jnbSA > Starts the GUI sessions
3) Scan the tape devices
#sgscan (in Solaris) #/ust/openv/volmgr/bin/scan (in
AIX)
4) Display all the netbackup process
ebpps -x
5) Check the backup status
InGUI—> Activity monitor
InCLI—> #bpdbjobs -report
6) Lists the server errors
#bperror
#bperrror —
#bperror —U —backstat -by_stateode -hoursago 1
J ~problems ~hoursago 1
7 Display information about the error code
#bperror -S
8) Reread bp.conf file without stop/start the netbackup
#bprdreq -rereadcontfig
Media Server (starts with bpxxx )
1) List the storage units
#bpstulist -U
2) List media details
# /ust/openv/netbackup/bin/goodies/available_media
htpsningur wordpress. com/2012/11/2inetbackup-important-commands-and-explanations!
M6srsn018 "Netbackup Important Commands and Explanations | Welcome to the World of UNI
This emd is retrieving all info about media that is available/full expired/Frozen
4) List all the netbackup jobs
#bpdbjobs ~report
4) Freeze or Unfreeze media
Incut,
In CLL, #bpmedia -unfreeze [-freeze] ev
5) List media details
#bpmedialist -ev
#bpmedialist -U -mcontents -m
Di
#bpimmedia -mediaid -L.
tthe information about NB images on media
8) List backup image information
#bpimagelist -U (general)
# bpimagelist -media -U (for media)
9) Expire a tape
# bpexpdate -d 0 ~ev -force
10) Expire client images
¥bpimage ~cleanup -allelients
11) Which tapes are used for taking backup
In GUI, Backup and Restore -> Find the Filesystem -> Preview Media Button
In CLI, #bpimagelist ~media -U
Volume Commands (starts with vmxxx)
1) Tape Drive (vmopremd)
1) List the drive status, detail drive info and pending requests
In GUI, Device mgmt
In CLI, #vmopremd
#vmopremd —
2) ‘Tape Media commands (vmpool,vmquery,vmchange,vmdelete)
1) List all the pools
In CLI, #vmpool -listall -bx
2) List the seratch pool available
#vmpool -list_scratch
3) List tapes in pool
InGul,
InCLI, #vmquery -pn -bx
robot
Incut,
In CLL, #vmquery -rn 0 -bx
htpsningur wordpress. com/2012/11/2inetbackup-important-commands-and-explanations!
6) List the media contents
4) List all tapes in the
2612372018 "Netbackup Important Commands and Explanations | Welcome tothe World of UNIX
5) List cleaning tapes
In CLL, #vmquery -mt dlt_clean -bx
6) List tape volume details
#vmquery —m
7) Delete a volume from the catalog
#vmdelete -m
8) Changes a tapes expiry date
#vmchange -exp 12/31/2012 hr:mm:ss ~m
9) Changes a tape’s media pool
#vmchange -p -m
3)-Lape/Robot commands (starts with tpxxx)
1) List the tape drives
#tpeonfig -d
2) List the cleaning times on drives
#tpdlean -L
3) Clean a drive
#tpdlean -C
Client Commands
i) List the clients,
#bpplelients
Policy Commands
i) List the policies
#bppllist -U
ii) List the detailed information about the policies.
#bpplist -U -allpolicies
EL Muaela oad Dover meroyiCaimageyer)
ies SOA acest)
octyl
Wolter | EL Facebook
htpsningur wordpress. com/2012/11/2inetbackup-important-commands-and-explanations!srsn018 Netbackup Important Commands and Explanations | Welcome tothe Worl of UNIX
‘Network Installation Manager (NIM) NTP Client configuration in AIX Subsystem Resource Controller (SRC)
LINUX AIX .
“This onry was poste in NETBACKUP, Bookmark heparan,
Welcome tothe World of UNIX
htpsningur wordpress. com/2012/11/2inetbackup-important-commands-and-explanations! 46