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. Veritas NetBackup™ Administrator's Guide, Volume I
  3. Section III. Configuring storage
  4. Configuring tape media
  5. Configuring media ID generation rules
  6. Media ID generation options
Veritas NetBackup™ Administrator's Guide, Volume I

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. However, it may be difficult to manage media if the label on the media and the generated media ID are different.

    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

Configuring media ID generation rules

Next

About media type mapping rules

Feedback

Was this page helpful?