Skip to main content

Is there a way to search the Veeam database to see if a particular file is in a backup and which backup/s its stored in? I was taught to just go to disk, search the server name and then hunt & peck through backup dates until I find the backup that has that file in it. 

You cannot search the DB for this detail.  You are doing it the correct way as the files you are looking for are in the VBK/VIB files for the backups.


Interesting question ​@TK515 . Not that I’m aware of..you can’t do this. The DB just has config settings/pwd info for Veeam; only Repos have backup files. The DB can’t “see” in the backup files. Not sure there is even a PoSH way to do what you’re wanting. Only thing I can suggest is contact Support to see if there’s an easy way to retrieve the info you’re wanting.

Best.


Also if you are looking for a file in an OS then you can turn on file indexing within the job to make searching easier.  VM Guest OS File Indexing - User Guide for VMware vSphere

 
 
 

Thanks! Just wanted to make sure I wasnt missing something and we have file indexing turned on too. 


Good share there Chris. I guess with Indexing on...he could then search for a given file in the manner in which the he wanted via Enterprise Manager. But then….he would need to be using Ent Mgr to be able to do this. 😉


Thanks! Just wanted to make sure I wasnt missing something and we have file indexing turned on too. 

Great to hear it is working as you expected.

 
 
 

Hi ​@TK515 

just to add my 2 cents...

As per Chris reply you cannot find desired information on Veeam DB, but you need to mount backup point and browsing the folders. 

I assume two scenarios for your search request

  1. user accidentally deleted that file he cannot remember when, but he knows the path where it was located
  2. You are looking for a file created by someone else without any other information than the server that contained it. 

In the first case, the user should at least try to remember last viewed the file, and from this information, you can search for the backups closest to that date.

In the second case, however, it is like looking for a needle in a haystack, especially if we are talking about a file server with millions of files. 

In the second case, once the restore point has been mounted, the PowerShell command Get-ChildItem or even simply the DIR /s command may be useful. When a restore point is mounted on the mount server (usually the VBR), a folder c:\VeeamFLR is created and contains the entire disk. 

At this point, you could do two things: 

Open a dos prompt and digit

dir /s C:\VeeamFLR\*.* > c:\filelist.txt

or in a powershell mode: 

Get-ChildItem -Path C:\VeeamFLR -Recurse | Export-Csv "C:\temp\filelist.csv"

 

I suggest to use DOS command…