Commvault corrupt stub file recovery


We used Commvault Simpana for several years for backup & archive.
Due to wrong decisions and configuration we ended up with a system that left our central file server scattered with stub files.
It was nearly impossible to get a view of all the files that were archived and replaced with stub files.
Top of it all we had a system crash of the commvault system with storage issues last year.

Management decided to fase out the whole system and invest in VEEAM as a backup solution and not to archive anymore becasue it was a pure vendor lockin.

We setup the VEAAM system and it works like a charm, it was a real relief to see how easy backup can be. But we were left with tons of stub files from the old commvault.
We tried recalling them which seemed to work fine if we triggered the files from the file server. The commvault plugin did not work somehow, so we had to script it to recall the files. The fastest and easiest way we found was with this command:

Get-ChildItem -File -Recurse | Get-FileHash

Seemed that some stub files did not recall and gave an error. We had to know which files were left behind and I would like to share the method we used to get this done. We started Powershell from the (old) Commvault server itself and issued this command from the root drive letter of the file server:

Get-ChildItem -Recurse |select name,attributes | Where-Object {$_.Attributes -eq 'Archive, SparseFile, ReparsePoint, Offline'} | Export-Csv "C:\Report\FaultyCommvaultStubs.csv"

Leaves us with a list of corrupt stub files. It would be nice to have a starting point where to look to get them back. We have a DASH copy of the complete commvault system in a second datacenter, that did not go corrupt, so there should be some hope.
Normally I would contact Commvault support, but the contract expired and it doesn't look like it is going to be extended soon.

Thanks in advance.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Blue Street TechLast KnightCommented:
Hi helhas,

What server version are you running?

I know Veeam very well but not Commvault Simpana so I'm going to pass on this one but I upgraded your Priority and modified your categories to pull in more Experts.

Best of luck!
ricky sIT ConsultantCommented:
Accessing Stubs without Triggering a Recall
Copying Stubs
To copy stubs from one location to another use the following steps:

Access the command prompt on the computer, where File System iDataAgent is installed.
Navigate to the <Software Installation Directory>\Base> folder
Run the GXHSMUtility utility.
Usage: GXHSMUtility <file_src> <file_dest>
more click here :

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Seth SimmonsSr. Systems AdministratorCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: ricky s (https:#a42451047)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.