"bpimagelist " and "bpimmedia" Showing different output after image expire
Hi All,
Thank you for your always support and guidance.
Currently I am checking some behavior for the image expiration.
I Configured the retention level for 1Day, and performed the AIR operation.
There is some strange behavior I saw in the output of "bpimagelist " and "bpimmedia".
Please see the below output
Before expiration
[root@jpvm126 ~]# /usr/openv/netbackup/bin/admincmd/bpimagelist -L -backupid jpvm126_1487191322 Client: jpvm126 Backup ID: jpvm126_1487191322 Policy: Policy_A Policy Type: Standard (0) Proxy Client: (none specified) Creator: root Name1: (none specified) Sched Label: Schedule_A Schedule Type: FULL (0) Retention Level: 1 day (11) Backup Time: Thu 16 Feb 2017 02:12:02 AM IS (1487191322) Elapsed Time: 31 second(s) Expiration Time: Fri 17 Feb 2017 02:12:02 AM IS (1487277722)
[root@jpvm126 ~]# /usr/openv/netbackup/bin/admincmd/bpimmedia -dp Test_Dp_A -stype NEC_HYDRA IMAGE jpvm126 jpvm126_1487167144 Policy_A 0 0 0 FRAG 1 -2147482648 1489845544 6 Test_Dp_A Test_Lsu jpvm126 0 FRAG 1 -1 1489845544 6 Test_Dp_A Test_Lsu jpvm126 0 FRAG 1 1 1489845544 6 Test_Dp_A Test_Lsu jpvm126 0 IMAGE jpvm126 jpvm126_1487191322 Policy_A 0 0 0----------------> This is the Image FRAG 1 -2147482648 1487277722 6 Test_Dp_A Test_Lsu jpvm126 0 FRAG 1 -1 1487277722 6 Test_Dp_A Test_Lsu jpvm126 0 FRAG 1 1 1487277722 6
Test_Dp_A Test_Lsu jpvm126 0
After Expiration
After expiration, I can see some strange behavior
- In bpimagelist i can see the information of expired image along with changed Expiration date.
- In bpimmedia there is no information regarding the expired image.
[root@jpvm126 ~]# /usr/openv/netbackup/bin/admincmd/bpimagelist -L -backupid jpvm126_1487191322 Client: jpvm126 Backup ID: jpvm126_1487191322 Policy: Policy_A Policy Type: Standard (0) Proxy Client: (none specified) Creator: root Name1: (none specified) Sched Label: Schedule_A Schedule Type: FULL (0) Retention Level: 1 day (11) Backup Time: Thu 16 Feb 2017 02:12:02 AM IS (1487191322) Elapsed Time: 31 second(s) Expiration Time: Sat 18 Feb 2017 02:12:02 AM IS (1487364122) Maximum Expiration Time: Thu 01 Jan 1970 05:30:00 AM IS (0) Compressed: no Client Encrypted: no Kilobytes: 2097185
[root@jpvm126 ~]# /usr/openv/netbackup/bin/admincmd/bpimmedia -dp Test_Dp_A -stype NEC_HYDRA IMAGE jpvm126 jpvm126_1487167144 Policy_A 0 0 0 FRAG 1 -2147482648 1489845544 6 Test_Dp_A Test_Lsu jpvm126 0 FRAG 1 -1 1489845544 6 Test_Dp_A Test_Lsu jpvm126 0 FRAG 1 1 1489845544 6 Test_Dp_A Test_Lsu jpvm126 0 [root@jpvm126 ~]#
So can you please make me clear about this starnge behavior(at least it is strange for me)
And there is one more thing, If I use NBU GUI, i can check the information through GUI catalog screen, but which command is equivalent it, bpimagelist or bpimmedia or something else?
When last did an Image Cleanup job run?
I would only expect complete image removal after Image Cleanup.You also forgot to mention your version of NetBackup?
Always good to check Late Breaking News for bugs or 'known issues' with image expiration for your particular version.