Thursday, April 25, 2019

Unable to restore due to long filenames

1. Right click on the folder you're trying to restore from shadow copy and chose Previous Versions. Chose a date and click on Open.

2. Right click on any file or folder within the previous folder and chose Properties. On the General tab copy what's shown in 'location',
 e.g.: \\localhost\E$\@GMT-2019.04.20-06.00.04\_Data

3. Open cmd.exe and type in:
subst X: \\localhost\E$\@GMT-2019.04.20-06.00.04\_Data

4. Open PowerShell and use robocopy to copy content of X: e.g.:
robocopy Z: E:\Folder\ /E /COPYALL

5. Check that all files have been copied.
6. When finished open a command prompt and type subst X: /D