• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 959
  • Last Modified:

Backup Exec 11d - Which Table Holds Backup Set Information

I need to query the BEDB to produce a list of the Backup Sets by Machine or Job Name.  Of the 146 tables in the BEDB, does anyone know which table contains the backup set information?
0
robtroller
Asked:
robtroller
  • 3
1 Solution
 
robtrollerAuthor Commented:
I believe that the CatResource table has this information.  Does anyone know if this is the information that represents the selection list data?
0
 
robtrollerAuthor Commented:
OK, looking further into this, the CatResource table and the Resource table both contain the server name and the each of the drives that are being backed up.  The Resource table also contains any SQL db being backed up.  Unfortunately, I 'm not able to find the Selection Detail.  For instance, if I have selected only the Documents and Settings and Windows directories on the C drive, I can query and get the server name and C as a resource but I'm still not able to find the two directories that are being backed up.  Anyone know where that bit of data resides?
0
 
honmapogCommented:
Check the resource table
0
 
robtrollerAuthor Commented:
After more reverse engineering I came up with the following:
The backup set data is housed in the BackupScriptEntries table.  The script name (Selection List Name) that ties the backup set selections together is found in the Scripts table.  The attached query will pull the Selection List Name, the File Path and a delimiter that indicates if the file path is Excluded (1 = /SUBDIR  0=/SUBDIR /EXCLUDED).  You must provide the ScriptID parameter to the query (@Param1).  The ScriptID can be found in the Scripts table and in the Jobs table. It is easy to find the specific Job Name in the Jobs Table then plug the ScriptID in to this query and come up with the Backup Set details.
Hope this is helpful.


Select s.Scriptname as "SL", b.deviceselectionname + b.pathname  + '\'  + b.[filename] as "BS", OperType as "Ex"
from [nebackup01\bkupexec].bedb.dbo.Scripts S join [nebackup01\bkupexec].bedb.dbo.BackupScriptEntries B  
on s.scriptid = b.scriptid
where s.ScriptID =  @Param1 and delimiter <> 1
order by b.deviceselectionname

Open in new window

0

Featured Post

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now