0% found this document useful (0 votes)
450 views

Netbackup Important Commands and Explanations

This document provides explanations and examples of important commands for administering and troubleshooting a NetBackup environment, including commands for the master server, media server, volume and tape devices, clients, and policies. It lists over 30 commands for checking licenses, starting and stopping services, scanning devices, displaying processes, checking backups, listing errors, and more. Examples are given for both the GUI and command line interfaces.

Uploaded by

syedrahman75
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
450 views

Netbackup Important Commands and Explanations

This document provides explanations and examples of important commands for administering and troubleshooting a NetBackup environment, including commands for the master server, media server, volume and tape devices, clients, and policies. It lists over 30 commands for checking licenses, starting and stopping services, scanning devices, displaying processes, checking backups, listing errors, and more. Examples are given for both the GUI and command line interfaces.

Uploaded by

syedrahman75
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Netbackup Important Commands and Explanations

Master Server
1) Check the license details
/usr/openv/netbackup/bin/admincmd/get_license_key
2) Stop and Start the netabackup services
i) /etc/init.d/netbackup stop (start)
> graceful stop and start
ii) /usr/openv/netbackup/bin/bp.kill_all > Stop backup including GUI
sessions, ungraceful
iii) /usr/openv/netbackup/bin/bp.start_all > Start the backup
iv) /usr/openv/netbackup/bin/initbprd
> starts the master server
v) /usr/openv/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)
4) Display all the netbackup process
#bpps x
5) Check the backup status
In GUI > Activity monitor
In CLI > #bpdbjobs report
/usr/openv/netbackup/bin/admincmd/bpdbjobs -report
6) Lists the server errors
#bperror
#bperror U problems hoursago 1
#bperror U backstat -by_statcode -hoursago 1
7) Display information about the error code
#bperror S <statuscode>
8) Reread bp.conf file without stop/start the netbackup
#bprdreq -rereadconfig
Media Server (starts with bpxxx )
1) List the storage units
#bpstulist U

2) List media details


# /usr/openv/netbackup/bin/goodies/available_media
This cmd is retrieving all info about media that is
available/full/expired/Frozen
3) List all the netbackup jobs
#bpdbjobs report <hoursago>
4) Freeze or Unfreeze media
In CLI, #bpmedia unfreeze [-freeze] ev <media ID>
5) List media details
#bpmedialist -ev <media ID>
6) List the media contents
#bpmedialist U mcontents m <mediaID>
7) List the information about NB images on media
#bpimmedia mediaid <ID> -L
8) List backup image information
#bpimagelist -U (general)
# bpimagelist -media U (for media)
9) Expire a tape
# bpexpdate d 0 ev <mediaID> -force
10) Expire client images
#bpimage cleanup allclients
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 (vmoprcmd)
1) List the drive status, detail drive info and pending requests
In GUI, Device mgmt
In CLI, #vmoprcmd
#vmoprcmd d ds (status)
#vmopcrmd d pr (pending requests)

2) Control a tape device


In GUI, Device mgmt
In CLI, #vmoprcmd [-reset] [-up] [-down] <drive number>
2) Tape Media commands (vmpool,vmquery,vmchange,vmdelete)
1) List all the pools
In CLI, #vmpool listall -bx
2) List the scratch pool available
#vmpool -list_scratch
3) List tapes in pool
In CLI, #vmquery pn <pool name> -bx
4) List all tapes in the robot
In CLI, #vmquery rn 0 bx
5) List cleaning tapes
In CLI, #vmquery mt dlt_clean bx
6) List tape volume details
#vmquery m <media ID>
7) Delete a volume from the catalog
#vmdelete m <mediaID>
8) Changes a tapes expiry date
#vmchange -exp 12/31/2012 hr:mm:ss m <media ID>
9) Changes a tapes media pool
#vmchange -p <pool number> -m <media ID>
3) Tape/Robot commands (starts with tpxxx)
1) List the tape drives
#tpconfig d
2) List the cleaning times on drives
#tpclean -L
3) Clean a drive
#tpclean C <drive number>

Client Commands
i) List the clients
#bpplclients
Policy Commands
i) List the policies
#bppllist U
ii) List the detailed information about the policies
#bpplist U allpolicies
/usr/openv/netbackup/bin/admincmd/bppllist -allpolicies

http://www.oracle.com/technetwork/articles/servers-storage-admin/howto-mapoldcli-solaris-cluster-1929359.html

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy