Hello,
I tried to perform a find files through Command Line for NDMP client to retrieve all version of a file only with his name (just like the Find feature with the Commcell Console).
Using the following documentation link “https://documentation.commvault.com/commvault/v11/article?p=45143.htm”, I made those XML files:
-------------------------------------------------------------------------------------------------------------------------------------
<databrowse_BrowseRequest opType="Find">
<entity _type_="0" appName="NDMP" backupsetName="defaultBackupSet" clientName="NAS" subclientName="default"/>
<paging pageSize="4294967295" skipNode="0"/>
<mode mode="2"/>
<paths path="\**\*\file.txt" />
<queries type="DATA"/>
</databrowse_BrowseRequest>
-------------------------------------------------------------------------------------------------------------------------------------
<databrowse_BrowseRequest opType="Versions">
<entity _type_="0" appName="NDMP" backupsetName="defaultBackupSet" clientName="NAS" subclientName="default"/>
<mode mode="2"/>
<paths path="\**\*\file.txt"/>
<queries type="DATA"/>
</databrowse_BrowseRequest>
Unfortunately, the results sent by the Commserve contains only the session token ID of the request (so empty answers).
Do you know a way to specify only the filename without asking for a specific path?
I’m certain that the file.txt exists in the last backup of the NAS client in the default subclient and I don’t want to provide the path of the files, I would like Commvault to tell me where the file is located.
Thank you in advance for your answers.
Best regards,
John