Hasleo Software Forums
VSS leftovers after image restore | comparison v4.9.5 vs. v5.0.0 beta - Printable Version

+- Hasleo Software Forums (https://www.easyuefi.com/forums)
+-- Forum: Hasleo Software (formerly called EasyUEFI Development Team) (https://www.easyuefi.com/forums/forumdisplay.php?fid=1)
+--- Forum: Hasleo Backup Suite (Free Windows Backup & Restore Software) (https://www.easyuefi.com/forums/forumdisplay.php?fid=10)
+--- Thread: VSS leftovers after image restore | comparison v4.9.5 vs. v5.0.0 beta (/showthread.php?tid=2185)



VSS leftovers after image restore | comparison v4.9.5 vs. v5.0.0 beta - al3x - 11-25-2024

Hey there,

I have a scheduled task that automatically runs a snapshot of c:\ twice a day. Command is:
wmic shadowcopy call create Volume='C:\'

Windows then stores these snapshots in C:\System Volume Information.
This enables the "Previous versions" feature in Explorer to be able to go back to an older version of a folder/file.

But what happens with those files on an image backup/restore scenario?

I tested different scenarios, here are the results:

--------------------------------------------------------------------------------
1. Image backup with HBS v4.9.5:

Behavior:
- All files in C:\System Volume Information are copied and kept in the image backup.
- On restore those files will be recreated but as empty 0-byte files.

Result:
- Restored Windows will not have Previous versions available in Explorer.
- No additional space is wasted in C:\System Volume Information.

--------------------------------------------------------------------------------
2. Image backup with HBS v5.0.0, VSS files filtered out (default):

Behavior:
- VSS files in C:\System Volume Information are NOT copied in the image backup.
- On restore those files are not available, no empty 0-byte files.

Result:
- Same as with HBS v4.9.5

--------------------------------------------------------------------------------
3. Image backup with HBS v5.0.0, VSS files NOT filtered out:

Behavior:
- VSS files in C:\System Volume Information are copied in the image backup.
- On restore those files are restored as well.

Result:
- Unfortunately Windows will NOT use those restored VSS files but still show 0 byte usage.
- Restored Windows will NOT have Previous versions available in Explorer.
- Those restored VSS files will be kept forever, resulting in less space available on C:\

--------------------------------------------------------------------------------
4. Image backup with Macrium Reflect v8.1.8311:

Behavior:
- Same behavior as scenario 2 (HBS v5.0.0 with VSS files filtered out)

--------------------------------------------------------------------------------

So what do these tests show exactly?

I think the default behavior of HBS v5.0.0 (scenario 2) is perfect, as those files are not backed up anymore. This is also the default in Macrium.
If you change that filter option in HBS v5.0.0 and you keep VSS files (scenario 3), this will result in permanently wasted space after restore.

(?) For scenario 3, Windows will not use those VSS files after a restore anyway. So if the user removes that filter option this should maybe trigger a warning for the user? Or maybe this option should not be removable at all?

If Windows could be somehow convinced to reuse those snapshots in scenario 3, this wouldn't be a problem at all. But this is probably impossible..?