Solved

Sharepoint Server Site Restore Issue

Posted on 2014-12-18
2
447 Views
Last Modified: 2014-12-22
Having an issue with a couple Sharepoint sites...

Had a server crash and the only recent Sharepoint backup was the Site Collection backups. I've been able to recover most sites using the stsadm command, but having an issue with 2 of the Sites restoring.

The error received is:
"One or more files in the restored site collection will exceed the maximum supported path length. Please select a shorter destination site address and try again."

These 2 sites are the largest and most used on the site and are 20+ GB and 40+ GB respectively.

Some of the things I've seen online relate to some contents in the site exceeding the 250 character limit and causing the restore to flake out.

I've been on with Microsoft for the last 4 days and would appreciate any assistance.
Maybe someone has run into an issue like this before.
Maybe someone knows of a tool that can truncate file lengths the file paths in the created .dat file.

I'm pretty desperate. Would give 1000 points if I could...  

OS Version: Server 2008 R2
Software: Sharepoint Server 2007
0
Comment
Question by:IAmDH
2 Comments
 
LVL 15

Accepted Solution

by:
colly92002 earned 500 total points
ID: 40509141
Sharepoint has a 260 character limit on paths (URLs).   You probably have either deep folder structure or very long file names that are going above this limit somewhere.
I suspect you are restoring the site collection to a root path that is not the same as it was backed up from?  

Try restoring to the shortest possible location (path wise) that you can.

As a suggestion to get the smallest possible root path, I would suggest you create a test web app, and restore one of the site collections to the ROOT of that web app.  This will give you the smallest "root" URL possible,i.e. the root will become something like:
http://server:port/ 

rather than say:
http://server:port/site/siteCollectionName

This will save you characters.  If that restores you can either keep the site collection here, or search the content db for long paths and fix them, back it up again, and restore it where you want it.

Note you can use AAM and DNS to give the webapp a nicer name than http://server:port
0
 

Author Closing Comment

by:IAmDH
ID: 40512802
That's exactly what I ended up doing, but just wanted to be sure that was the only option... no one has given any alternate solutions.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now