Community in read only mode June 18 & 19
This community will be set in READ ONLY mode for a while on Tuesday June 18 into Wednesday June 19 while we import content and users from our Micro Focus Forums community site. MORE INFORMATION
Highlighted
Zed010 Absent Member.
Absent Member.
3246 views

missing sessions, restore targets and FD files.

Jump to solution
Hi all on reviewing our Data Protector today I am finding a lot of session, restore, and media files missing.

I have found out that someone ran a cmd for DP:-
Omnidbutil -purge -dcbf.

Could this be a reason I am seeing missing information as above?

The data and catalogue protection is 2 weeks but I still cannot see any trace of the sessions/backup files, I am looking for. ON attempting to restore from the target, the expected drives aren't even listed and 75% of the resultant backup media is listing with blue question mark in 'devices and media I.e not found.

This is just one backup job to drive, we have loads more I now need to check!!!

Can anyone help/work with me on this please?

Thanks in advance for any assistance guys and gals.
0 Likes
1 Solution

Accepted Solutions
Bob_Clark Absent Member.
Absent Member.

Re: missing sessions, restore targets and FD files.

Jump to solution

Usually, the purge command is used to remove filenames

 

   omnidbutil -purge -filenames -force

 

But this is also done as part of your normal daily Maintenance, which runs every day at noon, so, there is probably no need to do thsi manually

 

Good idea to address the IDB backup issue.  I wish I had a nickle for every time someone has a catastrophic IDB failure, either doesn't have a IDB backup, or doesn't know where it is.  I have to tell them "Start Importing media until you find it", and I really don't enjoy doing that

7 Replies
Bob_Clark Absent Member.
Absent Member.

Re: missing sessions, restore targets and FD files.

Jump to solution

First, what does this command

 

    omnidbutil -purge -dcbf

 

actually do?

 

"The -dcbf option removes DCBF for all media with expired catalog protection."

 

The DCBF (Detail Catalog Binary File) is the heart of IDB, each file contains all the information for data backed up per media.  The 'catalog' is the list of the files and directories on that media, and this is what enables you to restore.  Other information in the DCBF identifies the media being used.  it is possible to lose teh Catalog, but still import the media to get it back

 

Unfortunately, since this command was run "omnidbutil -purge -dcbf" it took the entire DCBF with it.  That's why you are seeing the blue ? marks

 

Now, this should only be the case for unprotected media.  If this took protected sessions (of course, now, we'll never know), then DP has a real issue

 

I would recommend a physical scan of a simgle media, by right-clicking on it, and picking Scan.  This will load the media, read the header file, and, hopefully update the IDB to some of the session information.  This is much more complete than a BarCode scan

 

It may also come back and say that the media is 'Data Protector Foreign', which means that the Scan recognizes that this is DP formatted media, but, is not currently in the IDB, and, I think, this is the more likely scenario.  All you can do from this point is to IMport the media to start Rebuilding the IDB. It will take a log time, it takes LTO-4 tape 3-4 hours to import

 

Now, the silver lining.  If you have been regularly backing up the IDB onto tape, especially with DP 7 and below, you can restore the IDB from the last good backup.  Of course, this is based on knowing what tape the IDB backup was done on.  if you don't know, and if the IDB backup was in its own backup specification, thre is a file named 'media.log' (you don't say what version of DP you are running or the Cell Manager OS-type, so I can't be more specific) which will tell you wht media the IDB backup was done on

0 Likes
Zed010 Absent Member.
Absent Member.

Re: missing sessions, restore targets and FD files.

Jump to solution

Hi Bob, thanks for the comprehensive reply, and nice to make your aquaintance.

 

Yes I can see protected media, and our infrastructure is a Windows environment running DP 6.11. Version 8 is waiting for the install post cleanup of this fiasco (along with StoreOnce intergration as targets waiting!).

 

So damage is done. We dont have a valid IDB backup to roll back from and as its been a week+ it's not possible to roll back in any case.

 

I guess next subject is clean up... I assume there is no way to re associate the DCBF with the CDB (because the CDB reads from the DCBF)? If not then I guess we are talking about purging all the uknown unprotected backup media from the Cell manager and then cleaning up the unassociated *.fd files, any cheeky automation that we can use?

 

I cant believe we have lost all those backups... gutted.

 

Bob, I really appreicate your assistance here! Kudos.

 

 

 

 

0 Likes
Bob_Clark Absent Member.
Absent Member.

Re: missing sessions, restore targets and FD files.

Jump to solution

I'm sorry to say, without the backup of your IDB, you are probably just sunk, especially since you are using a File Library.  This is one case where the old school methods of backup to tap would have helped

0 Likes
Zed010 Absent Member.
Absent Member.

Re: missing sessions, restore targets and FD files.

Jump to solution

Hey Bob thanks for being candid.

So there is no recovery from this?

 

?;|

 

Cant remove old unknown media?

Can clean up the IDB?

 

Say it aint so... wah!

 

Thanks as always.

 

0 Likes
Bob_Clark Absent Member.
Absent Member.

Re: missing sessions, restore targets and FD files.

Jump to solution

If you can do a scan, and it shows the filename, then you can delete it, but, since it is not in the current IDB, not much else

 

By the way, just my opinion, but, you really need to be backing up the IDB to tape daily in its own backup specifcation, and I woudl suggest, using its own media pool, with the media in a known slot .  Even if you just have a stand-alone tape drive, that would be enough

0 Likes
Zed010 Absent Member.
Absent Member.

Re: missing sessions, restore targets and FD files.

Jump to solution

Bobn last thing...Is there any purge command switch that can remove the dead entries?

Point taken about daying IDB backups. I'll get this sorted.

 

 

 

0 Likes
Bob_Clark Absent Member.
Absent Member.

Re: missing sessions, restore targets and FD files.

Jump to solution

Usually, the purge command is used to remove filenames

 

   omnidbutil -purge -filenames -force

 

But this is also done as part of your normal daily Maintenance, which runs every day at noon, so, there is probably no need to do thsi manually

 

Good idea to address the IDB backup issue.  I wish I had a nickle for every time someone has a catastrophic IDB failure, either doesn't have a IDB backup, or doesn't know where it is.  I have to tell them "Start Importing media until you find it", and I really don't enjoy doing that

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.