Posted tagged ‘site collections’

SharePoint Information Architecture

July 28, 2008

One of the hardest questions anyone who is architecting small, medium, or large SharePoint deployments is how to set up the site collections and governance model around those areas.

Some groups say more site collections is better, some say less is better, but of course the overall saying is that it totally depends on your needs. This is great to know, but it doesn’t really provide enough information, and unless you want to read tons of blog posts and reams of Microsoft technical material (which I personally love to do) you need something thats organized well and articulates the high level concepts you need to know to make a successful implementation of SharePoint.

Well Bob Mixon has done a wonderful job of this. Take a gander at: http://www.bobmixon.com/blog/Lists/Posts/Post.aspx?ID=55

Thank you Bob!
Richard Harbridge

STSADM Backup/Restore

July 25, 2008

Often there is a need to copy a site collection in SharePoint from either one server to another, or to back it up before making some big changes, or maybe even just a desire to duplicate the site collection for testing purposes.

There are a whole slew of ways to do this, but I will recommend the simplest and most successful approach (in my experience). That is the STSADM command for backing up site collections, and the STSADM command for restoring site collections.

Backup a Site Collection

  1. On your SharePoint server hit WINDOWS + R.
  2. Type “cmd” and click OK.
  3. In the cmd window navigate to the “C:\Program files\common files\microsoft shared\web server extensions\12\bin” directory.
  4. Type stsadm -o backup -url “http://theurlofthesitecollection” -filename “C:\MyFirstBackup.bak” -overwrite
  5. Press Enter

    When the backup is completed it will now be sitting in your C:\ with the name MyFirstBackup.bak.

At this point you can copy the file to the other server, or just perform the restore on the same server by following the steps below.

Note before restoring ensure that the target site collection you are restoring onto is a BLANK site. This will allow you to avoid some potential issues with duplicate names and ID’s.

To Restore a Site Collection

  1. On your SharePoint server hit WINDOWS + R.
  2. Type “cmd” and click OK.
  3. In the cmd window navigate to the “C:\Program files\common files\microsoft shared\web server extensions\12\bin” directory.
  4. Type stsadm -o restore -url “http://theurlofthetargetsitecollection” -filename “C:\MyFirstBackup.bak” -overwrite
  5. Press Enter

When the restore is complete the site collection should now be replicated, or restored.

Keep in mind this is a pretty fast method. However it is not the ONLY or BEST meethod for backing up. It’s only my recommendation for something fast to migrate site collections, etc.

For more inforamtion on the limitations of each backup method and advantages see this wonderful TechNet Article: http://technet.microsoft.com/en-us/library/cc287880(TechNet.10).aspx

Thank you,
Richard