Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

stsadm.exe restore problem

  Asked By: Akeem    Date: Jun 25    Category: Sharepoint    Views: 2318

I've been backing up my sharepoint services sites using stsadm, and
I know I've restored sites before (but has been a while), but now
when I'm restoring, I get an error message that I hope someone can
help me with.

I'm using the syntax:

stsadm.exe -o restore -url http://webserver/newsite -filename
backupfilename.dat -overwrite

I get the following error message:

You cannot create the root Web "http://webserver/newsite" unless an
explicit inclusion or a proper wildcard inclusion is defined.

can anyone give me a clue as to what's this about? sorry if this
turns out to be a newbie type answer!



3 Answers Found

Answer #1    Answered By: Tory Sellers     Answered On: Jun 25

On portal server all sites  comes under /sites/newsite URL.

Simply use stsadm.exe -o restore  -url http://webserver/sites/newsite

and u do not need to use overwrite, its only in case of backup.

Answer #2    Answered By: Agustin Miranda     Answered On: Jun 25

I'm only dealing with WSS sites, and it seems no matter the url, I
keep getting an error  message

> You cannot create  the root  Web "http://webserver/newsite" unless
> explicit inclusion or a proper  wildcard inclusion is defined.

even though I use the path to a new site beneath the path of the
exiting site (ie. if the site is at http://wsssitename, I try to
restore to http://wsssitename/restore)

any ideas why?

Answer #3    Answered By: Arron Middleton     Answered On: Jun 25

You will need to restore  the site into a "Managed Path" that is wildcard
included for the SharePoint Virtual Server. You can do this in SharePoint
Central Administration in Virtual Server configuration.

Didn't find what you were looking for? Find more on stsadm.exe restore problem Or get search suggestion and latest updates.