Wednesday, June 16, 2010

Moving a Site to another content database in SharePoint 2007

First you have to generate xml file that contains information about sites and content dbs.

Use this command

stsadm -o enumsites -url http://websername >C:\sites.xml



to create sites.xml

Clean it up and only leave site you want to move

Rename to move.xml to only have info about the site you want to move



Now run this command


stsadm -o mergecontentdbs -url http://websername /sites/sitename -sourcedatabasename Old_Content -destinationdatabasename New_Content operation 3 -filename C:\move.xml

9 comments:

Anonymous said...

You should take part in a contest for one of the finest websites online.
I am going to recommend this blog!

Also visit my web blog :: LED Lighting

Anonymous said...

I've read some excellent stuff here. Definitely price bookmarking for revisiting. I surprise how so much attempt you set to make this kind of wonderful informative website.

Here is my webpage :: Orlando Chiropractor

Anonymous said...

This design is wicked! You obviously know how to keep a reader amused.
Between your wit and your videos, I was almost moved to start my own blog
(well, almost...HaHa!) Wonderful job. I really loved what you had
to say, and more than that, how you presented it.
Too cool!

Feel free to surf to my blog post: giantowner1121.tumblr.com

Anonymous said...

Appreciate the recommendation. Let me try it out.



my web page ... las vegas golf schools

Anonymous said...

continuously i used to read smaller articles or reviews that also clear their motive, and that is also happening with this article which I am reading at this
place.

my homepage :: types of back surgery for ruptured disc

Anonymous said...

Hi! I could have sworn I've visited your blog before but after looking at some of the posts I realized it's new to
me. Anyways, I'm definitely delighted I discovered it and I'll be bookmarking
it and checking back frequently!

Have a look at my homepage :: personal injury attorney

Anonymous said...

I'll immediately take hold of your rss feed as I can't find your
e-mail subscription link or e-newsletter service. Do you have any?
Kindly let me understand in order that I may just subscribe.
Thanks.

My homepage - kidney failure life expectancy

Anonymous said...

Now I am going away to do my breakfast, once having my
breakfast coming over again to read more news.


Feel free to visit my web-site lower back pain Left side Above hip

Anonymous said...

Pretty nice post. I just stumbled upon your weblog and
wished to say that I've truly enjoyed browsing your blog posts. In any case I will be subscribing to your rss feed and I hope you write again very soon!

Feel free to visit my weblog: golf instruction books top rated