Forum Discussion

psingh's avatar
psingh
Level 4
14 years ago
Solved

catalog backup

I am using NBU7.1 with RHEL5.5,

I need to perform catalog backup.

I run the below commands for NBU catalog policy :

*********************************************************************************************************************************************************************

/usr/openv/netbackup/bin/admincmd/bppolicynew PL_CAT_1 -M <master_server>

/usr/openv/netbackup/bin/admincmd/bpplclients PL_CAT_1 -add <master_server> RedHat2.6 Linux

/usr/openv/netbackup/bin/admincmd/bpplinfo PL_CAT_1 -set -active -collect_tir_info 0 -encrypt 0 -crossmp 0 -collect_bmr_info 0 -M <master_server>                   -pt NBU-Catalog -residence STU_1 -policyjobs 5, -multiple_streams 0 -pool CatalogBackup

/usr/openv/netbackup/bin/admincmd/bpconfig -mj 5 -max_copies 2 -tries 1 -M <master_server>

/usr/openv/netbackup/bin/admincmd/bpsturep -label STU_1 -cj 10

/usr/openv/netbackup/bin/admincmd/bpbackupdb -p PL_CAT_1 -s SCH_CAT_1

*********************************************************************************************************************************************************************

But the parent job for a hot catalog backup fails with a Status 227, even though the child jobs complete with a Status 0 (successful).

I refer the below link but i didnt find any way to add path option via CLI as suggested for desaster recovery tab.

http://www.symantec.com/business/support/index?page=content&id=TECH47663

All these operation are with OST.

 

 

  • Use bpplcatdrinfo command.

    # bpplcatdrinfo -help
    USAGE: bpplcatdrinfo policy_name [-v] [-M master_server,...] -L|-l|-U
           bpplcatdrinfo policy_name [-v] [-M master_server,...] [-generation generation] [-reason ""]
               {-set [-e email] -p path
                   [-u user] [-pwd password]
                   [-cp critical_policy_name1 critical_policy_name2 ... -]} |
               {-modify [-e email] [-p path]
                   [-u user] [-pwd password]
                   [-cp critical_policy_name1 critical_policy_name2 ... -]
               {-delete [-e] [-p] [-m]}
    

    # /usr/openv/netbackup/bin/admincmd/bpplcatdrinfo PL_CAT_1 -set -p <path>

    By the way, client OS type selection in catalog backup is a bit different from normal policy. You should delete a client once, and add again with correct OS type.

    # /usr/openv/netbackup/bin/admincmd/bpplclients PL_CAT_1 -delete <master_server> # /usr/openv/netbackup/bin/admincmd/bpplclients PL_CAT_1 -add <master_server> Linux Linux

2 Replies

  • Use bpplcatdrinfo command.

    # bpplcatdrinfo -help
    USAGE: bpplcatdrinfo policy_name [-v] [-M master_server,...] -L|-l|-U
           bpplcatdrinfo policy_name [-v] [-M master_server,...] [-generation generation] [-reason ""]
               {-set [-e email] -p path
                   [-u user] [-pwd password]
                   [-cp critical_policy_name1 critical_policy_name2 ... -]} |
               {-modify [-e email] [-p path]
                   [-u user] [-pwd password]
                   [-cp critical_policy_name1 critical_policy_name2 ... -]
               {-delete [-e] [-p] [-m]}
    

    # /usr/openv/netbackup/bin/admincmd/bpplcatdrinfo PL_CAT_1 -set -p <path>

    By the way, client OS type selection in catalog backup is a bit different from normal policy. You should delete a client once, and add again with correct OS type.

    # /usr/openv/netbackup/bin/admincmd/bpplclients PL_CAT_1 -delete <master_server> # /usr/openv/netbackup/bin/admincmd/bpplclients PL_CAT_1 -add <master_server> Linux Linux

  • Can i ask why you are using the command line to do this and not the Admin Console which will ensure that all of your policy settings are correct?

    I dont see you creating a schedule for the policy in your commands even though you specify one in the command line to run it - you need a full backup schedule for the catalog backup to work correctly and the full must be run prior to an incremental or you will get a 227 error