Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Problems restoring a site

  Asked By: Edmond    Date: Feb 18    Category: Sharepoint    Views: 1115

Had a user delete a department level site today accidentally (example:
http://servername/sites/company/dept ). Besides needing to verify
security, when I try to use STSADM to restore dept, I get the error:
"You cannot create the root Web "http://servername/sites/company/dept "
unless an explicit inclusion or a proper wildcard inclusion is defined."

Poking around good, Managed Paths look they may have something to do
with it - my management page for them looks like:

Current Virtual Server
Note the current virtual server name. To change virtual servers, go to
the Choose Virtual Server page.

Virtual Server Name: Default Web Site
URL: http://servername/

Included Paths
This list specifies which paths within the URL namespace are managed by
Windows SharePoint Services.
Remove selected paths
Path Type
(root) Explicit inclusion
sites Wildcard inclusion
personal Wildcard inclusion

Excluded Paths
This list specifies which paths within the URL namespace are not managed
by Windows SharePoint Services. Excluded paths take precedence over
included paths.

Remove selected paths



3 Answers Found

Answer #1    Answered By: Gopal Jamakhandi     Answered On: Feb 18

I don't what switches you used with stsadm, but the message indicates
that you are trying to create  a root  web and dept is a site  below the
root of company.

Answer #2    Answered By: Kyla Eckert     Answered On: Feb 18

looks like you are trying to stsadm  a sub-site, and you cannot. you can only 'stsadm -o' a top level  site.

e.g. http://servername/sites/company

Answer #3    Answered By: Joshuah Huber     Answered On: Feb 18

i think this has to do with what you are trying to restore. Do u have a backup for each and every subsite? if you had done backup for a toplevel site  then restore  would recreate toplevel site and all its subsites (what ever was backed up).

if you dont care about restoring  from toplevel site ( u may loose data added to the toplevel site and other subsites after backup) try restoring from the top level  site like Ben Curry suggested but also include the -force option.

Didn't find what you were looking for? Find more on Problems restoring a site Or get search suggestion and latest updates.