07-06-2014 12:41 AM
Hi Mates,
1..How to configure catalog backup from Command line In 7.x verrsion and in 6.5 version of Netbackup?
2..What is the use of bpbackupdb command when we have bpbackup command?
http://www.symantec.com/business/support/index?page=content&id=HOWTO43640
NBU 7.1
Solaris 10
Solved! Go to Solution.
07-06-2014 01:41 PM
07-07-2014 05:37 AM
bpbackupdb command was originally meant for cold catalog backup.
Before NBU 6.x, only cold catalog backup could be done.
If you look in NBU 6.5 Commands Manual, you will see that this command could be used in 6.x for cold and hot catalog backup with different command options for hot and cold backup.
The command still exists in 7.x, but only options for hot catalog backup, similar to bpbackup -i.
So, you now have a choice of which command you want to use for cmd start of catalog backups.
As per my previous post - best is to issue these commands in your environment and see for yourself.
07-06-2014 01:30 AM
07-06-2014 05:13 AM
Why do I get the feeling this is an 'exam' type question ...
In what, I guess, 6 odd years I have never seen anybody ask this, and have only seen 1 customer that 'might' have set the catalog policy this way.
Seeing as I happen to know how to do this I'll give you the commands, but you must go research them to get the correct options. The clue is in what I have written.
bppolicynew command to create the policy and specify the master server
bpplinfo command to 'modify' the policy to set the residence (also knawn as the STU) and the policy type to NBU-Catalog
bpplcatdrinfo to set the email address, and the DR file fiolder
bpplsched command to set the schedule(s), eg Full/ Incremental , retention level, frequency
Tip.
Edit /usr/openv/java/Debug.properties and remove the # from the 'setting' lines
(or windows equiv if you are running java console from PC)
printcmds=true
debugMask=0x00040000
printCmdLines=true
Restart the Java console, and add a schedule to a policy.
Look in
/usr/openv/netbackup/logs/user_ops/nbjlogs dir for the log created (new log created each time you run the java console)
Find the line in the log which changed the schedule, it will give you a starting point as there are quite a few options.
07-06-2014 07:59 AM
Thanks Martin.
I know all the commands which you mentioned.
I have searched google and the man page of bpbackup and bpbackupdb.
http://www.symantec.com/business/support/index?pag...
bpbackupdb states that hot online catalog backup can be initiated with policy name and schedule using bpbackupdb.
I can also done that using bpbackup command.
SO what is the difference between bpbackup and bpbackupdb commend then.
@Marianne: Unix team also does catalog backup in our environment.they ask for command line mostly.
Thats why asking for command line.
Please provide some command for this or give links.
07-06-2014 10:20 AM
I know all the commands which you mentioned.
With all due respect - why ask then?
Your understanding of bpbackup and bpbackupdb is correct.
For additional info, here's all the documentation you need:
NBU 6.5 Unix/Linux Commands manual: http://www.symantec.com/docs/TECH52832
NBU 7.0 Commands manual: http://www.symantec.com/docs/TECH127047
NBU 7.1 Commands manual: http://www.symantec.com/docs/DOC3684
NBU 7.5 Commands manual: http://www.symantec.com/docs/DOC5182
NBU 7.6 Commands manual:http://www.symantec.com/docs/DOC6489
If you still have doubts after reading the detailed info the Commands manuals, the only thing left to do is to run the commands in your environment and see for yourself what they do.
Do not be afraid to run these commands in a production environment - it will not 'break' anything.
If you get the command options wrong, the command will simply not work (error message)..
If you get it right, you will have running backups.
PS:
I have a feeling that you know about this post?
configuring user backup to this client
07-06-2014 01:41 PM
07-06-2014 05:39 PM
thanks all.
only below is left:
what is the difference between bpbackup and bpbackupdb commend then.
07-06-2014 10:01 PM
Enough of this...
You have the documentation.
If you still do not understand the difference, use them in your environment to see for yourself.
07-07-2014 02:40 AM
07-07-2014 05:37 AM
bpbackupdb command was originally meant for cold catalog backup.
Before NBU 6.x, only cold catalog backup could be done.
If you look in NBU 6.5 Commands Manual, you will see that this command could be used in 6.x for cold and hot catalog backup with different command options for hot and cold backup.
The command still exists in 7.x, but only options for hot catalog backup, similar to bpbackup -i.
So, you now have a choice of which command you want to use for cmd start of catalog backups.
As per my previous post - best is to issue these commands in your environment and see for yourself.