Cybersecurity
DevOps Cloud
IT Operations Cloud
OpenText product name changes coming to the community soon! Learn more.
Situation
There is a store on a B2D device which is containing objects (backup data), not seen on DP. The store can be queried with the omnib2dinfo command to display its content.
C:\Users\Administrator>omnib2dinfo -list_objects -b2ddevice SO
Object Key Creation Date Last Modified Date Object Size
097d770f_6315edf9_04c4_0011 05-09-2022 13:26:37 05-09-2022 13:34:35 978500 kB
Note that this is only showing info queried from the store and is not telling anything about the DP side. The example being looked at here is that the above object is the only object in the store and the related DP device does not contain any slots and the pool is empty.
Background info
How to arrive in such a situation? Maybe the medium was exported from the IDB and the slot deleted by mistake. Another possibility is that the medium expired and was automatically deleted, but the store was not reachable at that time and the object on the store was kept. Or maybe the store was just never configured yet in the cell. In such a case it is possible to configure the B2D device and detect the existing store on the B2D device, but that would still not import the content of the store into the IDB.
Import of the B2D object
The important difference with a physical tape library is that the slot for this object may not exist in DP. While a phisical tape library will just have numbered slots (e.g. 1-64), a B2D device will use the name of the object on the store to generate the related slot. That means that once this slot is created, it could be imported just similar to importing a tape. Here's what will be needed to get the object imported.
C:\Users\Administrator>omnib2dinfo -list_objects -b2ddevice SO
Object Key Creation Date Last Modified Date Object Size
097d770f_6315edf9_04c4_0011 05-09-2022 13:26:37 05-09-2022 13:34:35 978500 kB
C:\Users\Administrator>omnimm -add_slots SO 097d770f_6315edf9_04c4_0011
Slot(s) successfully added.
C:\Users\Administrator>omnimm -import SO_gw1 -slot 097d770f_6315edf9_04c4_0011
[Normal] From: MSM@system.domain "SO_gw1" Time: 08-Sep-22 1:21:25 PM
Media session 2022/09/08-2 started.
[Normal] From: MMA@system.domain "SO_gw1 [GW 5288:0:3699040963821419547]" Time: 08-Sep-22 1:21:26 PM
STARTING Media Agent "SO_gw1 [GW 5288:0:3699040963821419547]"
[Normal] From: MMA@system.domain "SO_gw1 [GW 5288:0:3699040963821419547]" Time: 08-Sep-22 1:21:26 PM
Loading medium from slot \\b2d.domain\STORENAME\097d770f_6315edf9_04c4_0011 to device SO_gw1 [GW 5288:0:3699040963821419547]
[Normal] From: MMA@system.domain "SO_gw1 [GW 5288:0:3699040963821419547]" Time: 08-Sep-22 1:21:28 PM
Using interface path: \\b2d.domain\STORENAME\097d770f_6315edf9_04c4_0011
[Normal] From: MSM@system.domain "SO_gw1" Time: 08-Sep-22 1:21:30 PM
Foreign medium "097d770f:6315edfc:04c4:0012" found.
[Normal] From: MSM@system.domain "SO_gw1" Time: 08-Sep-22 1:21:40 PM
Importing session into database:
SessionID: 2022/09/05-2
Owner: PUE01DP10\ADMINISTRATOR@system.domain
Start time: 05-Sep-22 2:39:20 PM
[Normal] From: MMA@system.domain "SO_gw1 [GW 5288:0:3699040963821419547]" Time: 08-Sep-22 1:21:40 PM
Total Done: 20772 KB.
[Normal] From: MMA@system.domain "SO_gw1 [GW 5288:0:3699040963821419547]" Time: 08-Sep-22 1:21:41 PM
Unloading medium to slot \\b2d.domain\STORENAME\097d770f_6315edf9_04c4_0011 from device SO_gw1 [GW 5288:0:3699040963821419547]
[Normal] From: MMA@system.domain "SO_gw1 [GW 5288:0:3699040963821419547]" Time: 08-Sep-22 1:21:42 PM
COMPLETED Media Agent "SO_gw1 [GW 5288:0:3699040963821419547]"
Final report: 1 media out of 1 successfully imported.
C:\Users\Administrator>
You may be interested to some of my other Support Tips too: Support Tips listed per category.