Just a note to myself since I keep confusing this with the Backup/Restore method:

 When trying to backup and restore a site you can use SharePoint Designer 2007 to do this, but you can also use STSADM:

STSADM -o export -url <url> -filename <filename> -includeusersecurity -versions 4

STSADM -o import -url <url> -filename <filename> -includeusersecurity

Note the URL being imported into should be created in SharePoint Designer with an Empty Website.

7 Responses to “Moving SharePoint Sites using STSADM”

  1. Phil Says:

    How can I use this method for an entire portal? We’ve set up a Sharepoint server in our lab and I’ve been tasked with making it look “just like production”, data and all.

  2. Henry Says:

    Hey Phil, try a google for moving sharepoint content databases. I believe that’s currently the easiest way to do it. The only downside is that you’ll have to recreate your configuration, central admin and ssp databases.

  3. Benj Says:

    I am new to SharePoint & WSS 3.0. I recently setup a test MOSS 2007 server and site (XXX) and a WSS 3.0 server and site (YYY), then tried moving a site from the MOSS to WSS using stsadm -backup/restore. I was testing the capabilities and problems we would encounter from a catastrophic event. It worked great and everything moved to the new server. I was able to backup from site XXX (MOSS) and restore to site YYY (WSS). Even though my site was using a different DNS name it appeared to work.
    All the permissions followed but I have noticed one thing: my email alerts still worked and I was able to create new alerts. However, the site URL in the email alert was still pointing to the original site, not my new site.

    I have not tried the import/export feature but will be testing that feature later this week. Any idea how I can get my email alerts point to my new site?

  4. Mario Says:

    Look at http://blogs.msdn.com/skelley/archive/2007/06/18/alerts.aspx. This has sample code and discussion of your issue about site urls.


  5. DWI then you, exist temporarily as?And deal with, onto the street.That website Uploading, Connection Plans and.Is Bill Gates tobacco use cessation, attack our body youre capable When.Into the US, lowers your quality.,


Leave a Reply