The BPIMMEDIA -L command truncates backup IDs when the client's host name exceeds 9 characters.

  • Modified Date:
  • Article ID:000084112

Problem

The BPIMMEDIA -L command truncates backup IDs when the client's host name exceeds 9 characters.

Solution

Due to the tabular output format of the BPIMMEDIA -L command, the backup ID is truncated to a total of 20 characters.

A backup ID consists of two parts: the client's hostname and the timestamp, separated by an underscore character. Because the timestamp is 10 characters long, any systems that have hostnames exceeding 9 characters will have their backup IDs truncated using this bpimmedia with the -L option.  Bpimmedia -l or bpimmedia -U are not affected with the current releases of Netbackup.

Here is a sample bpimmedia -U output:

Backup-ID:              thisismylongclient_1490642006
 Policy:                   longname
 Schedule Type:       FULL
 Retention Level      1
 Number of Files:     16
 Compression:         N
 Encryption:             N
 Image Type:            Regular
 Primary Copy:         1
 Expires:                  Mon 10 Apr 2017 03:13:26 PM EDT
 Image on Hold:         0

  Copy Number:         1
  Fragment Number:   1
  Fragment Size (KB): 96
  Media Type:            RMed
  Density:                 hcart
  File Number:         1
  Offset:                  2
  Host:                    nbmaster2
  Device Written On: 4
  MPX:                   N
  Expires:               Mon 10 Apr 2017 03:13:26 PM EDT
  Retention Level:    1
  MediaID:              E03001
  Copy on Hold:       0


Here is a sample bpimmedia -L output of the same backupid:
Backup-ID            Policy     Type  RL  Files   C  E  T  PC  Hold  Expires
Copy Frag    KB Type Density FNum      Off       Host       DWO MPX Expires                         RL Hold MediaID
-----------------------------------------------------------------------------------------------------
thisismylongclient_1 longname   FULL  1   16      N  N  R  1   0     Mon 10 Apr 2017 03:13:26 PM EDT
 1   1       96 RMed hcart   1         2         nbmaster2  4   N   Mon 10 Apr 2017 03:13:26 PM EDT 1  0    E03001

Note how it only display the first digit of the timestamp:   thisismylongclient_1


Workaround:
Each of the following options correctly reports the backup ID:

1. Use the Images on Media report contained in the Reports Graphical User Interface (GUI) to view the backup IDs.


2. Use the BPIMMEDIA command with the -l or -U display switch, rather than the -L.


 

 

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)