Question

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. And I am using publishing portal template.

I have a source web site called http://server1/site1, and I want to restore it to another machine whose URL is http://server2/site2.

I want to know in stsadm -o restore, how to specify the destination changed URL?

Was it helpful?

Solution

stsadm -o restore -url http://server2/site2

This is assuming that you are restoring a site collection (which typically wouldn't have a URL like that).The majority of the links in the site collection are server relative links that will take on the URL of the web application where you are restoring.Note there could be many leftover links that are absolute and will need to be changed manually.For instance, if you create a list based on the Links template or documents that link to other documents in the site.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top