5.24.2012

Repair VSS Corruption

Internal DEV team still using VSS? Just a little snippet you may need to know every now and then when coming across database corruptions. Analyze.exe is your friend :)
analyze -f -c -d %PATH_TO_VSS_ANALYZE_LOG% %PATH_TO_VSS_DATA% 

Analyze Report: 
------------------ 
%PATH_TO_VSS_ANALYZE_LOG%d= Analyze log of corrupted files 
-f =Automatically repairs inconsistencies and corruption that are detected 
-c=Cleans up and compresses unused space in the database 
-d=Deletes any unused files