NetBackup Command Guide - KrazyWorks

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

6/12/2017 NetBackup Command Guide | KrazyWorks

HOME HOME SUPPORT ABOUT DOWNLOADS ARCHIVE Search...

networking applications data monitoring commands &


Unix and Linux Reviews of latest Unix Disk partitioning, Distributed server shells
network configuration. and Linux software. filesystems, directories, monitoring. Server
Cool Unix shell
Multiple network Helpful tips for and files. Volume performance and commands and
interfaces. Bridged application support management, logical capacity planning. options. Command­
NICs. High­availability admins. Automating volumes, HA Monitoring
line tools and
network configurations. application support. filesystems. Backups applications, network application. Things
and disaster recovery. status and user activity. every Unix sysadmin
needs to know.

Home » Backups, Veritas Tech News »

Apple could sacrifice iPhone 8 gigabit


NetBackup Command Guide data support: Report

Submitted by Igor on December 27, 2009 – 7:17 pm Image: Sarah


Tew/CNET
15 Comments
Apple isn’t planning to
include support for
NetBackup is an enterprise­level distributed backup and recovery next­generation
application. The environment consists of the master server, media gigabit networks with
server, storage library, networking hardware, and client agents. its new iPhone rumored to be released
NetBackup supports a wide variety of Unix, Linux, VMS, and this fall, according to Bloomberg.
Windows systems. The original backup solution was developed by As CNET shadowed earlier this year,
Control Data Corp., later acquired by Openvision, which gave the Apple’s decision to leave …

product its “NetBackup” name. NetBackup was then bought by Moving from Android to iOS: Lessons
Veritas and is currently owned and supported (poorly) by learned helping with a transition
Symantec. Image: Apple
Ever since my wife
Daemons and Processes
started using
smartphones she has
On the master server there are four NetBackup daemons started
refused to accept new
in sequence:
phones since I always
had extra phones around after testing
1. bprd – the request daemon started during system boot
and writing about them. She didn’t
2. bpsched – the scheduler daemon started by bprd
want to spend the …
3. bpdbm – the NetBackup database manager started by
bpsched More articles »
4. bpjobd – the job monitor daemon started by bpdbm

One the media server, there are up to nine NetBackup daemons: Commands & Shells »

Parallel Rsync

http://www.krazyworks.com/netbackup­command­guide/ 1/13
6/12/2017 NetBackup Command Guide | KrazyWorks

1. bpcd – communications daemon started during system boot This is an update of


2. bpbrm – backup and restore manager started by bpcd the script I originally
3. bptm – tape manager started by bpbrm wrote five years ago
and used to migrate
4. bpdm – disk manager started by bpbrm
many terabytes of
5. ltid – media manager started during system boot
production data
6. avrd – bar code reader daemon started by ltid
between two NAS systems. What’s
7. vmd – volume manager daemon started by ltid new: more efficient subfolder crawling,
8. tldd – robotic tape library daemon started by ltid more effective way …
9. tldcd – robotic tape library control daemon started by ltid
Pushing SSH Keys
One the client side, there is one NetBackup daemon started during This is just a quick
system boot: note for me on
pushing SSH keys
1. bpcd – the client daemon, which starts the bpbkar processes using sshpass and
for each active backup or restore job xargs. The
~/hosts.txt file
Logs and Configuration Files contains a list of remote hosts, one
per line. And the
Version and patch levels ~/.passwd.txt contains your password.
Make sure to chmod 400 …
1. NetBackup and patch versions:
/opt/openv/netbackup/bin/version More articles »
2. Patch level history:
/opt/openv/netbackup/patch/patch.history
Applications »
3. Media version: /opt/openv/volmgr/version
SystemD: Back To The Future
Configuration Files A creature in its death
throes, Sun
1. NetBackup configuration: /opt/openv/netbackup/bp.conf
Microsystems gave
2. Media manager configuration: /opt/openv/volmgr/vm.conf birth to Solaris SMF –
3. Buffer size: the product of a
/opt/openv/netbackup/db/config/SIZE_DATA_BUFFERS disturbing union
4. Number of buffers: between Unix System V and the
/opt/openv/netbackup/db/config/NUMBER_DATA_BUFFERS Microsoft Windows Registry. Shortly
5. Network buffer size: /opt/openv/netbackup/NET_BUFFER_SZ thereafter the proud father died, …
(default is 32)
Get a List of all ESX Hosts in a
6. Catalog type: Datacenter
/opt/openv/netbackup/db/config/cat_format.cfg
Another simple one­
liner to get a list of
Access control
hostnames of all ESX
servers in the
1. Java GUI authorization: /opt/openv/java/auth.conf
vCenter. This can be
Troubleshooting useful for a number of
things, specifically as input for other
1. Corrupt database images: /opt/openv/netbackup/db.corrupt PowerCLI scripts.

(The following is the corrected and expanded information found at More articles »
http://www.datadisk.co.uk/html_docs/veritas/veritas_netbackup_cs.htm)

http://www.krazyworks.com/netbackup­command­guide/ 2/13
6/12/2017 NetBackup Command Guide | KrazyWorks

Server Commands
Data »

Migrating Filesystems with Active


Check /opt/openv/netbackup/bin/admincmd/get_license_key
Processes
license
details I’ve run into an
interesting challenge:
Start netbackup start I needed to migrate
Netbackup application data from
/opt/openv/netbackup/bin/initbprd (master) a local filesystem to
/opt/openv/volmgr/bin/vmd (media) NFS without stopping
the processes running in the original
mountpoint. Here’s a basic overview of
Stop netbackup stop the process. This …
Netbackup
(does not /opt/openv/netbackup/bin/admincmd/bprdreq ­ Rsync Time Backup
disconnect terminate (master) This is a simple
GUI /opt/openv/netbackup/bin/bpdbm ­terminate (master) wrapper for the
sessions) awesome rsync­time­
backup script
Stop /opt/openv/netbackup/bin/goodies/bp.kill_all by Laurent Cozic.
Netbackup Through clever use of
and kill all hard links rsync­time­backup greatly
GUI speeds up incremental backups and
sessions saves disk space.

More articles »
Start the /opt/openv/netbackup/bin/jnbSA
GUI
Monitoring »
Scan for sgscan (solaris)
tape ioscan (HPUX) Watching VSFTP

devices I have an FTPS


server running VSFTP
Display all bpps ­a and below is
Netbackup collection of
processes commands useful for
monitoring activity
lists bperror ­U ­problems ­hoursago and analyzing the logs.
servers bperror ­U ­backstat ­by_statcode ­hoursago
Installing NetData on RHEL/CentOS
errors
NetData is a real­time
display bperror ­statuscode [­recommendation] system monitor great
information for visualizing
on a error performance data.
code Instances of
netdata run
Reread bprdreq ­rereadconfig independently on monitored systems.
bp.conf file The results can be accessed remotely
without and grouped into a single dashboard
view, making this tool highly scalable.
stopping

Netbackup

http://www.krazyworks.com/netbackup­command­guide/ 3/13
6/12/2017 NetBackup Command Guide | KrazyWorks

More articles »
Check bpdbm ­consistency 1
database bpdbm ­consistency 2Check for the below lines:
consistency Bad image header Networking »
Does not exist
Sun T­Series ILOM and Solaris 11
Network Configuration
Netbackup Recovery
Just some quick
Device bprecover ­l ­m ­d dlt (listing) notes on setting up
catalog is bprecover ­r ­m ­d dlt (recovering) Oracle Sun T­series
intact server ILOM and
network aggregation
Device bprecover ­l ­tpath (listing) with LACP. I don’t get
catalog is bprecover ­r ­tpath (recovering) to do this very often, so every time it’s
gone or a struggle to remember, with much …
corrupted
Verify Network Port Access

Disk bprecover ­l ­dpath (listing) There are several


backups bprecover ­r ­dpath (recovering) tools you can use to
verify access to a
remote network port:
Catalog Commands nc, tcping, telnet.
Unfortunately, nc from
Master Server the netcat package has been replaced
by the one from nmap, which lacks the
Information about image – /opt/openv/netbackup/db ­z option, making …
backed­up files
More articles »

Storage Unit, Global config – /opt/openv/netbackup/db


Configuration, Editor Log In
Catalog backup
configuration. Username

Backup Policy class – /opt/openv/netbackup/db Password


information
Log In
Job status jobs – /opt/openv/netbackup/db Remember
Igor Me
information
Sr. Unix Lost your
SysAdmin with password?
Netbackup logs with error – /opt/openv/netbackup/db
fifteen years
error and status
experience
information
supporting
Solaris, HP­UX,
Information on volume – /opt/openv/volmgr/database
AIX, IRIX, and
volumes, volume
Linux servers in
pools, scratch pool
a large
and volume groups
distributed
environment.
Media Server

Tracks assigned media – /opt/openv/netbackup/db

http://www.krazyworks.com/netbackup­command­guide/ 4/13
6/12/2017 NetBackup Command Guide | KrazyWorks

volumes (media that


Interesting »
has data them)
Awesome Shell
Information about device – /opt/openv/volmgr/database An excellent
devices managed by collection of programs
the media server and scripts to extend
your shell’s
capabilities.
Volume Commands
More articles »
Tape Drive and Inventory Commands

List drive status, vmoprcmd


detail drive info and
pending requests

List the tape drive vmoprcmd ­d ds


status

List the pending vmoprcmd ­d pr


requests

Control a tape vmoprcmd [­reset][­up][­down]


device

List all changes in vmupdate ­recommend ­rt tld ­rn 0


the robot(but do not
update) vmcheckxxx ­rt tld ­rn 0 ­recommend

Empty the robot and vmupdate ­rt tld ­rn ­rh ­vh ­nostderr ­
re­inventory (using use_barcode_rules ­use_seed ­
barcodes) empty_ie

Tape Media Commands

List all pools vmpool ­listall ­bx

List tapes in pool vmquery ­pn ­bx

List all tapes in the vmquery ­rn 0 ­bx |grep ‘TLD’ | sort +4
robot

List cleaning tapes vmquery ­mt dlt_clean ­bx

List tape volume vmquery ­m


details

Delete a volume vmdelete ­m


from the catalog

http://www.krazyworks.com/netbackup­command­guide/ 5/13
6/12/2017 NetBackup Command Guide | KrazyWorks

Change a tapes vmchange ­exp 12/31/06 23:59:58 ­m


expiry date

Change a tape’s vmchange ­p ­m


media pool

Media Commands

List the storage units bpstulist ­U

Freeze or unfreeze bpmedia [­freeze][­unfreeze] ­ev


media

List media details bpmedialist ­ev

List media contents bpmedialist ­U mcontents ­m

List backup Image bpimagelist ­backupid


Information

Expire client images bpimage ­cleanup ­allclients

Expire a tape bpexpdate ­d 0 ­ev ­force

List all netbackups bpdbjobs ­report [­hoursago]


jobs

Move media from one bpmedia ­movedb ­newserver ­


media server to oldserver
another

Tape/Robotic Library Commands

List tape drives tpconfig ­d

List cleaning times tpclean ­L


on drives

clean a drive tpclean ­C

change a drives tpclean ­F


cleaning frequency

set a drives cleaning tpclean ­M


time to zero

Move tapes within robtest


robot using robtest

http://www.krazyworks.com/netbackup­command­guide/ 6/13
6/12/2017 NetBackup Command Guide | KrazyWorks

commands that can be used are as


follows:

s s (show slots)
s d (show drives)
s i (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 (move tape from slot 250 to
load port 1)

List load port tapes echo “s i q” | tldtest ­r /dev/sg/c0t4l0

List all slot contents echo “s s q” | tldtest ­r /dev/sg/c0t4l0

List tape drive echo “s d q” | tldtest ­r /dev/sg/c0t4l0


contents

Move a tape in s100 echo “m s100 d1” | tldtest ­r


to drive 1 /dev/sg/c0t4l0

Move a tape to load echo “m s100 i1” | tldtest ­r


port 1 /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 bpcatlist ­before Jul 01 2006 | bpcatarc |


images bpcatrm

restore archive files bpcatlist ­before Jul 01 2006 | bpcatres

Client Commands

test client bpclntcmd [­ip ] bpclntcmd [­hn ]


connectivity bpclntcmd [­pn] bpclntcmd [­sv]

Share this:

 Share

Tweet 0 Like 1

http://www.krazyworks.com/netbackup­command­guide/ 7/13
6/12/2017 NetBackup Command Guide | KrazyWorks

15 Comments »

Yusoff says:
October 21, 2010 at 12:26 am

Hi

I found this site useful since I was trying to identify the key processes/services for
NetBackup. I have a question though. Which version of NetBackup was this write
up based on?

I am asking because I am currently using NetBackup 7 and what I noticed is a few


services mentioned above missing when NetBackup started, but my NetBackup
works just fine.

Below is what I have:­


> master server
1. bprd – the request daemon started during system boot
3. bpdbm – the NetBackup database manager started by bpsched

> media server


1. bpcd – communications daemon started during system boot
5. ltid – media manager started during system boot
6. avrd – bar code reader daemon started by ltid
7. vmd – volume manager daemon started by ltid
9. tldcd – robotic tape library control daemon started by ltid

Are the other services started on­demand rather than persistently running when
NetBackup starts?

Reply to this comment »

admin says:
October 21, 2010 at 12:56 am

I am afraid this was originally written for NetBackup 5.x, so I


wouldn’t be surprised if since then there have been a few changes to the
running services. I can confirm that for version 7 there would be only two
processes running on the master server: bprd and bpdbm, so what you have
looks right. The bpbrm, bptm, and bpdm are started on demand when there is
an active backup or restore job. I think this is still the case in version 7. This
leaves tldd. Check if the binary is present (probably in
/usr/openv/volmgr/bin/tldd or just do a search for tldd). I am almost certain tldd
is still there in version 7 and should be running constantly if you have
configured robotic library devices (at least one drive). You may want to check
the log files (check for /usr/openv/volmgr/debug/reqlib, it may have debug info
specifically for tldd). Sometimes tldd may terminate if the media server lost
contact with the library device (even if temporarily).

Reply to this comment »

sabeeh says:
February 21, 2012 at 9:32 am

http://www.krazyworks.com/netbackup­command­guide/ 8/13
6/12/2017 NetBackup Command Guide | KrazyWorks

what is the command to know the number of drives attached to a


particular storage unit?

Reply to this comment »

KIRAN says:
April 9, 2012 at 7:13 am

Hi
Recently i finished my veritas netbackup6.5 course. i am trying for job could any
please help me about real time environment like how many master servers,media
servers,clients,os,tape drives n plz provide me material also……………

Reply to this comment »

Diesel mechanic apprentice Pine Town says:


December 12, 2012 at 6:02 am

Hmm is anyone else having problems with the pictures on this


blog loading? I’m trying to figure out if its a problem on my end or if it’s the blog.
Any responses would be greatly appreciated.

Reply to this comment »

Igor says:
December 12, 2012 at 4:20 pm

It was a problem with the site. Sorry. The hosting provider had an
issue with DNS redirect. Created a DNS loop.

Reply to this comment »

Peter says:
March 22, 2013 at 4:37 am

Most of the mock drafts and cheatsheets I see are based on roto
scoring and what not. Very rarely do I see anyone analyzing head to head points
leagues. So tell me the first ten off the board in a head to head10 team league and
explain a little why you think so. Any draft tips in general would help too. The
following is the point system and roster settings for my league:

Batting
single: 1
double: 2
triple: 3
HR: 4
RBI: 1
walk: 1
strike out: ­1
stolen base: 2
caught steeling: ­1

http://www.krazyworks.com/netbackup­command­guide/ 9/13
6/12/2017 NetBackup Command Guide | KrazyWorks

Pitching
1 win: 7
2nd win: +3
Complete game: 5
2nd Complete game: +2
Shutout: 5
2nd shutout: +2
1 Quality start: 5
2nd Quality start: +2
Losses: ­4
5 innings: 1 (+1 per inning after)
Saves: 5
blown save: ­2

Roster:
1C
1 1B
1 2B
1 3B
1 SS
3 OF
DH
5 SP
3 RP
5 bench
By the way, I am slated to pick in the 6 spot. Since it is a snake draft, I will pick at
15 in the second round.
Pronk allow me to elaborate.

“I’m wondering if you’re in a yahoo league,and if your pitching 2nd stats are per
SP,or per entire staff..”
It’s a custom cbs league. The 2nd stats are per SP. So if a two starting pitcher gets
two wins in a week, the second win counts for less points.

“Is it 1 point per 5 innings,then 1 additional point per that pitcher,or 1 additional point
per entire staff..
(I’ve NEVER seen such a screwed up pitching scoring system!Like,is 6 wins with
all different SPs 42 points,or 22 points?I’m confused about those little stipulations.)”
No. Once again, it is per pitcher. So if a single starting pitcher totals 8 innings in a
week, they get 4 points. If any single starting pitcher totals 2 wins in a week they
get 10 points. Thus it is possible to get a total of 50 points by wins if all five of your
starters have two starts in a week.

Reply to this comment »

Dom L says:
March 23, 2013 at 7:52 am

something is wrong with my computer burner and i cant burn pictures


and video to cds anymore. i have a feeling that i am going to need a new laptop
soon.
my question is can i put all my pictures and videos somewhere online and get to
them on another computer so that i can download from there. i was trying with
webshots.com i can get to the pictures and save them to the computer but not the

http://www.krazyworks.com/netbackup­command­guide/ 10/13
6/12/2017 NetBackup Command Guide | KrazyWorks

video.
is there a site that will let me put my video back on the computer so i can burn it on
to a cd. and if so which site?

thank you all very much this is very important to me. my sons first year of life is on
this laptop. please help
thank you for all the help im going to get a flash drive. thanks again im completely
retarded when it comes to computers

Reply to this comment »

Big Banger says:


March 23, 2013 at 9:53 am

i have a job to do for a friend, basically he wants me to back up his


system to a HDD other than one connected to his work server. i want to back it up
to a HDD at his home. ive had a look at some options online, they say to pay x
amount/month for server storage, is there a way of doing it without the need of
online servers, simply like FTP it to a HDD at home?

Thanks for any advice!

Reply to this comment »

Caltel T says:
March 23, 2013 at 1:09 pm

What is the average salary of Storage professionals in Australia?


Storage means – SAN, TSM, NetBackup, Omnibackup. This comes in skill
shortage in AU, therefore is the salary will be coming down in next couple of years
as what had happened in USA?

Reply to this comment »

Echo says:
March 24, 2013 at 11:28 pm

And not one with just tables and fonts. I’m now in to more advanced
HTML. I just want something cool to add to my website.

Reply to this comment »

Stevalicious says:
March 27, 2013 at 3:13 am

I want to use Veritas Netbackup for My practice to Backup Oracle


Database

Reply to this comment »

isk8at818 says:
March 27, 2013 at 10:53 pm

http://www.krazyworks.com/netbackup­command­guide/ 11/13
6/12/2017 NetBackup Command Guide | KrazyWorks

Does anyone know where I can find a good fantasy basketball


cheatsheet of player rankings for free (besides the yahoo Bigger
Board)? I have an offline draft and could only find one decent
cheatsheet. I need to know if there are any other good ones out there.

Reply to this comment »

Ramblin Spirit says:


March 31, 2013 at 8:12 am

R they copied from memory to DISK?


Plz tell me where they are copied? WHERE?????

Reply to this comment »

Denali says:
March 31, 2013 at 12:24 pm

i want it to be all about basketball footbal and baseball….it will have


fantasy sports cheatsheets rankings and other stuff for your fantasy team….what
should i name it…..i want it to be catchy….and please give me tips to how to get
people to keep coming to my website

Reply to this comment »

Leave a comment
Add your comment below. You can also subscribe to these
comments via RSS

Be nice. Keep it clean. Stay on topic. No spam.

Comment
b i link b­quote del ins img ul ol li code more
close tags crayon

You can use these tags:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <


blockquote cite=""> <cite> <code class="" title="" data‐url
=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <str
ong> <pre class="" title="" data‐url=""> <span class="" title
="" data‐url="">

http://www.krazyworks.com/netbackup­command­guide/ 12/13
6/12/2017 NetBackup Command Guide | KrazyWorks

This is a Gravatar­enabled weblog. To get your own globally­


recognized­avatar, please register at Gravatar

Your Name (required) Name

Your Website Website

Your Email (required) Email

Post Comment

Notify me of follow­up comments by email.

Notify me of new posts by email.

recent posts most commented latest comments


Apple could sacrifice iPhone 8 gigabit D­Link DNS­320 NAS Review Parallel Rsync | KrazyWorks on Making
data support: Report (53)
Rsync Faster
Moving from Android to iOS: Lessons Why Linux Sucks | LFNW 2012
learned helping with a transition John on Filesystem Synchronization with
(52)
New Math Untangles the Mysterious Upgrade procedure for phpBB2 Freehold
Nature of Causality (33) magic wed on Making Rsync Faster
Parallel Rsync TLDR: What Would Make You Switch
Sample Salt Proxy Configuration for
from Mac to Windows to Linux?
The New War on (Overpriced) Drugs
(32) vCenter/ESX | KrazyWorks on Configure
iPhone’s battery draining fast? Here’s Wget examples and scripts and Run esxcli on Red Hat
how to fix it
(31)
Wget Examples | KrazyWorks on Use wget
Is your iPhone’s battery draining fast?
with Your Rapidshare Account
iPhone and iPad tips and tricks

Copyright (c) 2009­2016, KrazyWorks, LLC. All Rights Reserved. KrazyWorks

http://www.krazyworks.com/netbackup­command­guide/ 13/13

You might also like