Comprehensive data protection for all workloads
Post Reply
ddockter
Enthusiast
Posts: 60
Liked: never
Joined: Sep 25, 2010 2:09 pm
Full Name: Doug Dockter

Can't restore file because path, file name or both too long

Post by ddockter »

We had some malware sneak through our defenses and corrupt .pdf, .xls(x) and .doc(x) files on a network share. In the process of restoring the files, I'm running into the below error for the files in several directories. The only way I can see to recover the files in these directories is to restore the entire vmdk file, attach it to a VM and copy the files. Has anyone else run into this? Have you come across a better way to circumvent it?

"The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."
luckyinfil
Enthusiast
Posts: 91
Liked: 10 times
Joined: Aug 30, 2013 8:25 pm
Contact:

Re: Can't restore file because path, file name or both too l

Post by luckyinfil »

Seems like cryptolocker is hitting everyone :D
tsightler
VP, Product Management
Posts: 6011
Liked: 2843 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: Can't restore file because path, file name or both too l

Post by tsightler »

Have you upgraded to V7? I think this was addressed there.

In the interim, you can start the FLR browser, minimize it, and instead use Windows explorer to restore the files by going to C:\VeeamFLR and browser for the files you want and copying them from there, much easier than the method you are using. This is covered in another thread but I can't find it right now for some reason.
ddockter
Enthusiast
Posts: 60
Liked: never
Joined: Sep 25, 2010 2:09 pm
Full Name: Doug Dockter

Re: Can't restore file because path, file name or both too l

Post by ddockter »

Thanks for the suggestion about FLR. I tried restoring it but got a similar error. I had to restore it to a different location (shorter path name); shorten the file name; and then move it to the original location.
foggy
Veeam Software
Posts: 21070
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Can't restore file because path, file name or both too l

Post by foggy »

Here is probably the thread Tom is talking about. v7 allows to restore files with long names without any issues, except the Copy To option (will be addressed a bit later). What Veeam B&R version are you using?
ddockter
Enthusiast
Posts: 60
Liked: never
Joined: Sep 25, 2010 2:09 pm
Full Name: Doug Dockter

Re: Can't restore file because path, file name or both too l

Post by ddockter »

Using 6.5. I failed to mention that I'm using the Copy To option so I guess v7 would not help. Thanks for all the replies. I just need to have a talk with a particular person about the ridiculously long directory names they are creating!
foggy
Veeam Software
Posts: 21070
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Can't restore file because path, file name or both too l

Post by foggy »

Ok, anyway, the workaround suggested by Tom should help (using Windows Explorer to copy files from the C:\VeeamFLR folder after the backup is mounted by FLR session).
adamenko
Lurker
Posts: 2
Liked: never
Joined: Jun 05, 2014 7:27 am
Full Name: Adamenko Delwinsay
Contact:

Re: Can't restore file because path, file name or both too l

Post by adamenko »

I would suggest you to use Long Path Tool. Its an ideal tool for such situations.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 102 guests