Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ Web UI Administrator's Guide
  3. Section IV. Configuring storage
  4. Configuring tape media
  5. Configure media ID generation rules
  6. Media ID generation options
NetBackup™ Web UI Administrator's Guide

Media ID generation options

NetBackup uses rules to generate the IDs for media in robots. The default rule uses the last six characters of the barcode label from the tape.

You can configure media ID generation rules to override the default rule. Control how NetBackup creates media IDs by defining the rules that specify which characters of a barcode label to use for the media ID.

The following subsections describe the media ID generation rule options.

The following list describes the media ID generation rule options:

  • Bar code length

    The Barcode length is the number of characters in the barcode for tapes in the robot.

    You cannot change the barcode length of a rule. Rather, first delete the rule and then add a new rule.

  • Media ID generation rule

    A Media ID generation rule consists of a maximum of six colon-separate fields. Numbers define the positions of the characters in the barcode that are to be extracted. For example, the number 2 in a field extracts the second character (from the left) of the barcode. You can specify numbers in any order.

    To insert a specific character in a generated media idea, precede the character by a pound sign (#). Any alphanumeric characters that are specified must be valid for a media ID.

    Use rules to create media IDs of many formats. Ensure that the media ID generation rule generates a unique media ID.

    A media ID generation rule is a rule to convert a barcode (which can be up to 16 characters) into a media id (which is limited to 6 characters).

    The rule allows you to specify literal characters, or character positions from the original barcode.

    Characters of the rule are separated by ':'. A number represents a character in the barcode, starting at 1.

    A '#' followed by a character represents a literal character.

    For example, #A:3:2:1 would result in the letter A followed by the third, second, and then first characters of * the volume's barcode.

    No two rules can share both robot number and barcode length.

    The table shows some examples of rules and the resulting media IDs.

    Barcode on tape

    Media ID generation rule

    Generated media ID

    032945L1

    1:2:3:4:5:6

    032945

    032945L1

    3:4:5:6:7

    2945L

    032945L1

    #N:2:3:4:5:6

    N32945

    543106L1

    #9:2:3:4

    9431

    543106L1

    1:2:3:4:#P

    5431P

  • Robot number

    The number of the robot to which the rule applies.

    You cannot change the robot number of a rule. Rather, first delete the rule and then add a new rule.

Feedback

Was this page helpful?
Previous

Configure media ID generation rules

Next

About media type mapping rules

Feedback

Was this page helpful?