Veritas-bu

[Veritas-bu] Drop built-in catalog backup for rsync?

2004-09-22 11:47:09
Subject: [Veritas-bu] Drop built-in catalog backup for rsync?
From: dritschel62 AT yahoo DOT com (Douglas Ritschel)
Date: Wed, 22 Sep 2004 08:47:09 -0700 (PDT)
FYE.


How to configure and backup NetBackup catalogs from
command line. 
--------------------------------------------------------------------------------
Details:
I. Configuration of the catalog backup from command
line (usually performed on the Master server)

The configuration phase of this objective entails:

a)  Specifying the media IDs to which the catalog
backups are to be written. Configuring one media
implies that catalog backup will be performed to that
media each time; configuring two medias, however, will
allow the catalog backups to be alternated from one
tape to the other. The example below illustrates two
medias A00000 and A00001 being used for a catalog
backup. The UNIX command line for this is as follows: 
    
#/usr/openv/netbackup/bin/admincmd/bpsyncinfo -server
<master_server> -id1 A00000 -d1 <densitystr> -id2
A00001 -d2 <densitystr>


where <master_server> is the name of the Master server
and <densitystr> is the media type (e.g. 4mm, dlt,
etc)


b)  Specifying when to perform the catalog backup.
There are three options available: Never (must be
manually initiated), After each successful Backup
Schedule and After any successful Backup/Archive. From
a command line perspective, this is has to be viewed
as manual. The corresponding parameter for this option
is "bw" (Backup When). Thus the UNIX command line is
as follows:      
#/usr/openv/netbackup/bin/admincmd/bpsyncinfo -bw
never



c)  Specifying the paths to be backed up. This should
include NetBackup media databases of the Media servers
as well as the databases of the Master server such as
image and volume databases. The command to incorporate
a typical example of a set of paths is as follows:    
 
#/usr/openv/netbackup/bin/admincmd/bpsyncinfo -paths
"<master_server>:/usr/openv/netbackup/db
<master_server>:/usr/openv/volmgr/database
<media_server>:/usr/openv/netbackup/db/media
<media_server>:/usr/openv/volmgr/database" 


where <master_server> is the name of the Master server
and <media_server> is the name of the Media server.

Note:  To ensure a list of multiple paths, the -paths
option has to be used in conjunction with "" and a
space between each path.


In order to confirm that all of the above
configurations are successfully in place, run and
verify the output of the command:
#/usr/openv/netbackup/bin/admincmd/bpsyncinfo -U  



Additionally, the file which contains all of the above
information is called the sync file which can be found
under "/usr/openv/netbackup/db/config". This is the
file which is referenced and called by the bpsyncinfo
command. 


II. Starting the catalog backup from command line 

To start the catalog backup from the command line, use
the command:
#/usr/openv/netbackup/bin/admincmd/bpsyncinfo  -M
<master_server> -doBackup 

The above procedure is similar for Windows NT/WIN2K
except for the paths and the backslashes (\) to
replace the fowardslashes.


--------------------------------------------------------------------------------
Products Applied: 
 NetBackup BusinesServer 3.4, 3.4.1
 NetBackup DataCenter 3.4, 3.4.1

Last Updated: October 02 2001 04:08 PM GMT 
Expires on: 365 days from publish date 
Subscribe to this document 

Subjects: 
 NetBackup BusinesServer 
   Application: How To
   Database: Backup, Configuration, Faq, How To
NetBackup DataCenter 
   Application: Faq, How To
   Database: Backup, Configuration, Faq, How To 
Languages: 
 NA 
Operating Systems: 
Windows 2000
Advanced Server, Server 5.00.2195

AIX

4.3.2, 4.3.3

HP-UX

10.2, 11.0

Solaris

2.6, 7.0 (32-bit), 8.0 (32-bit)

Linux

RedHat 7.x

Windows NT

4.0 Server SP5, 4.0 Server SP6a

--- William Enestvedt <William.Enestvedt AT jwu DOT edu>
wrote:

> Larry Yates asked:
> > 
> > Hey Guys
> > Have any of you tried running:
> >  bpsyncinfo -doBackup 
> > from: /usr/openv/netbackup/bin/admihncmd
> > On the master media server
> > 
>    Why, no -- no, I haven't. (And I notice,
> crankily, that while the
> command exists, it isn't mentioned in the Admin
> Guide, nor in my
> materials from the 5-day Veritas NBU course. Thanks,
> guys!)
>    Does it just describe the config & media history
> of the most recent
> Catalog backups, as well as optionally execute the
> bpbackupdb command?
> Or is there more to it?
> -wde
> --
> Will Enestvedt
> UNIX System Administrator
> Johnson & Wales University -- Providence, RI
> 
> _______________________________________________
> Veritas-bu maillist  - 
> Veritas-bu AT mailman.eng.auburn DOT edu
>
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> 



                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

<Prev in Thread] Current Thread [Next in Thread>