SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a question regarding multiple site collections in a single web application. Take the following structure; (Root site collection) (First sub site collection) (Second sub site collection)

If I run this;

stsadm -o backup -url -filename c:...\site.bak

Will it only backup the root collection data from the shared content database or will it also backup ../subsiteA and ../subsiteB also? I'm trying to backup / restore the root site collection across different environments without changing any of the content in the subsites in each environment. Is this possible?

Thanks, Brian.

share|improve this question
up vote 2 down vote accepted

Yes, its possible and your guess is right. It will backup or restore only the site collection that you have mentioned, even if it is the root.

For other site collections, you might have to backup or restore them separately.

share|improve this answer
perfect, that's exactly what I was hoping to hear! :-) – Brian Scott Sep 19 '12 at 14:53
also, is there a way to backup all site collections simultaneously in case I need to? Or would this be a case of backing up the shared content database and doing a full content database restore? – Brian Scott Sep 19 '12 at 14:54
if the whole site collections needed to be backed up, you will have to restore the content db if all of them are in just 1 database. Otherwise you will have to write a custom script in powershell to loop through any sitecollection from root to bottom and backup or restore them. :) – Deepu Nair Sep 19 '12 at 15:06
great, thanks. One final question. I'd like to show a particular document list on a page in the root site collection. How would you approach showing content from a sub site collection in a parent level site collection page? – Brian Scott Sep 19 '12 at 15:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.