Refs Block Cloning Processing fails on a single file
Closed this issue · 1 comments
TnTBass commented
Describe the bug
When processing the blockstats for a single file, an error occurs as more than one file is needed to gather information.
To Reproduce
Steps to reproduce the behavior:
- Have a single .vbk file in a directory (an accompanying .vbm is OK, as .vbm's are ignored)
- Run the veeam_refs_savings.ps1 manually against the drive containing a directory with that single .vbk file.
- Watch an error being produced
Exception calling "Parse" with "1" argument(s): "Input string was not in a correct format."
Expected behavior
No errors should occur.
Additional context
Limited debugging statements are included, which made this a bit more tricky to track down.
TnTBass commented
I added some debugging statements in here. They don't cause any harm, but can help identify where any hiccups are occurring if processing multiple folders.