nbdc

nbdc — add, modify, or list NetBackup data classifications

SYNOPSIS

<nbu_dir_path>nbdc -add -n name -r rank [-v] [-M master_server] [-d description]

<nbu_dir_path>nbdc -L | -l [-v] [-M master_server]

<nbu_dir_path>nbdc -modify -dc class [-v] [-M master_server] [-n name] [-d description] [-r rank]

On Windows systems, <nbu_dir_path> is <install_path>\NetBackup\bin\

DESCRIPTION

The nbdc command names data classifications and sets their rank. Data classifications are the labels that the user can attach to backup images. They allow NetBackup to treat different kinds of data differently. Only storage lifecycle policies can use data classifications.

The nbdc command can do one of the following:

  • Add (-add) a new data classification. The new level requires a name and a rank, and optionally, a description and a master server name if multiple master servers are present.

  • List (-L or -l) the data classifications.

  • Modify (-modify) the name, rank, or description of a specified data classification.

OPTIONS

-d description

Specifies the new description for the designated data classification. This description is commentary only.

-dc class

Specifies the data classification ID (GUID) to be modified.

-l

Lists the data classifications. The output contains only information. The fields do not have names. A line appears for each level with the fields that are space delimited.

-L

Lists the data classifications. The field name identifies the output fields. A line is output for each level and is formatted to print within the field headings.

-M master_server

Specifies a master server. The default is the local server.

-n name

Identifies the new name for the specified data classification. Default names are Platinum, Gold, Silver, and Bronze.

-r rank

Identifies the new rank for the specified data classification ID. The rank is the method by which NetBackup determines the importance of a data classification in relation to other data classifications.

-v

Selects the verbose mode for logging.

EXAMPLES

EXAMPLE 1

This example lists all data classifications. Only two levels (ranks) are shown.

# nbdc -L
			 Rank: 4
			 Name: Bronze
	Description: "lowest rank"
Classification ID: B1F664D41DD111B2ACFB99708C0940D1

			 Rank: 1
			 Name: Platinum 
	Description: "highest rank"
Classification ID: B4C999D41DD111B2FFFB99704C6660D4

EXAMPLE 2

This example changes the description of Rank 4 to "really the lowest rank":

  nbdc -modify -sl B1F664D41DD111B2ACFB99708C0940D1 -d "really the 
   lowest rank"

SEE ALSO

nbstl, nbstlutil