0

Posted: October 29th, 2009    By: Devin Walker   

Sometimes sites need to move from one location to another. Here is how you do that using the Sharepoint CLI utility stsadm.

Note: Always perform in a test environment. An empty site must be in place before a cabinet file can be imported

1. Use MOSS07′s sts_adm.exe tool on test server located in directory: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN

2.Export Command:

stsadm -o export -url http://toplevelsite/subsite -filename c:\folder\sitename1.cab -version #

Version #: Any content that hasn’t been approved will not be exported by default.

3. Import Command:

stsadm -o import -url http://toplevelsite2/subsitelocation -filename c:\folder\sitename1.cab

Important: Do not use -backup/-restore commands to move sub-sites, this will cause the top level site and database to be overwritten.

Always perform in a test environment prior to running commands on a production server.

For moving a subsites or toplevel sites to subsites. etc.

Related posts:

  1. Redirect a SharePoint site by using the Content Editor Web Part This blog demonstrates a useful way to use the Content Editor Web Part to redirect users of a particular site. The script prompts a site's end users they will be redirected and then redirects them after a certain period of time. At some point in time you might want to point users to another location [...]...
  2. Sharepoint Database Restore Procedure Accidents happen... If Sharepoint has crashed and your database needs to be restored, here is how you can do it; this is a high level overview. 1. Restore database to a new Database 2. Dismount content database from Site you are restoring by using the central administration admin utility from DOS on one of the [...]...
  3. SharePoint Data View Web Part Announcements List The frontpage of any corporate Intranet should have announcements to provide site users with up to date information about the on goings of the company. SharePoint provides a number of options to make this possible. The following article will provide you with information about how to use the Data View Web Part to display an [...]...
  4. SharePoint Stsadm GUI Interface stsadm.exe is a very useful SharePoint Administrative tool and is often used to complete numerous daily tasks.  The tool is command line interface, and some people these days would prefer to work with a more familiar point and click graphical user interface.   The following tool should suit your needs. Available:  Here Size: zipped >100kb Preview [...]...
  5. Import Outlook Calendar to SharePoint SharePoint makes it very easy to export Calendars from SharePoint to Outlook.  But what if you have an Outlook calendar that you want on SharePoint?  This becomes more difficult and you could quickly find yourself lost on how to complete this task.  Don't worry though, it's not that hard.  The following article will explain a [...]...

Leave a Reply