Welcome to MSDN Blogs Sign in | Join | Help

Jackie Bodine: SharePoint Blog

Windows SharePoint Services, Microsoft Office SharePoint Server, and related topics
Content Deployment – Step By Step Tutorial

I was looking around and realized that I couldn't find an easy set of instructions to set up Content Deployment in Microsoft Office SharePoint Server.

In this post, I'll show you how to set up content deployment from a staging site collection to a production site collection. For simplicity, I will host both site collections on the same server.

For a background on content deployment, see: http://blogs.msdn.com/sharepoint/archive/2006/05/02/588140.aspx

Create Production Site Collection

When setting up a content deployment path, the site collections must be in separate content databases so that the unique identifiers (GUIDs) do not conflict. The easiest way to ensure that the production site collection is in a different content database is to create it in a new web application.

Open Central Administration:

Under Application Management:

Select Create or extend Web application:

Select Create a new Web Application:

Choose an easy to remember port number, such as 12345:

Type in a user name and credentials to create a new app pool:

Type in a descriptive database name such as MOSS_PRODUCTION:

Leave all other settings at the default and click OK, then wait for the Web application to be created:

Click Create Site Collection:

Ensure that your new Web Application is selected:

Type in any name for the Title (it will be overwritten later):

Select "Blank Site" as the template. This step is IMPORTANT, because Blank Site is the only template that you can import any other template into:

Type in the names for the site collection owners:

Click OK.

Allow Incoming Content Deployment Jobs on the Production Site

Select Operation:

Select Content deployment settings:

Select Accept incoming content deployment jobs:

Select Do not require encryption and click OK:

 

Create Content Deployment Path from Staging to Production

Select Content deployment paths and jobs:

Click New Path:

Type a descriptive name for the path. Select the web application and site collection for the staging site. Then type in the URL of the Central Administration web site of the production site. Since we are putting both of our sites on the same server farm, the URL is the farm that we are on now.

Click Connect:

Once you see "Connection succeeded", select the web application and site collection that you created for production. You can also choose to deploy user names and security if you want the new site to have the same users and permissions.

Click OK.

Create Content Deployment Job

Click New Job:

Type a name, and then select the path you created:

Keep all other default values, and click OK.

Run Content Deployment Job

From the context menu on the job, select Run Now:

Refresh the page, and then click on the text Running:

Watch the status of the job:

When the status changes to Succeeded, you can click on the URL to the production site to verify that the content was deployed.

Run Quick Deploy Job

Select Quick Deploy Settings from the Quick Deploy context menu:

Select Allow Quick Deploy jobs along this path, and set the schedule to check every 10 minutes, then click OK:

Visit the staging site and edit a page:

Make some changes:

Publish the page:

Show the page editing toolbar:

From the Tools menu, select Quick Deploy:

The changes will be picked up and deployed to production within 10 minute:

References

Content Deployment Post by Tyler Butler:
http://blogs.msdn.com/sharepoint/archive/2006/05/02/588140.aspx

MOSS SDK on Content Deployment:
http://msdn2.microsoft.com/en-us/library/ms549024.aspx

TechNet on Plan Content Deployment:
http://technet2.microsoft.com/Office/f/?en-us/library/edcdacca-8013-460e-95a0-d2b83b6cc7ef1033.mspx

TechNet on Design Content Deployment Topology:
http://technet2.microsoft.com/Office/f/?en-us/library/1d6d6040-6cbb-4685-a40e-1e9086d426831033.mspx

Posted: Monday, February 26, 2007 2:51 PM by Jackie Bodine
Filed under:

Comments

Tyler Butler [MSFT] said:

Great post, Jackie. There is also some documentation of this process (albeit without the pretty pictures) over on Technet as well.

http://technet2.microsoft.com/Office/f/?en-us/library/edcdacca-8013-460e-95a0-d2b83b6cc7ef1033.mspx

There's some topological overview as well:

http://technet2.microsoft.com/Office/f/?en-us/library/1d6d6040-6cbb-4685-a40e-1e9086d426831033.mspx

Cheers,

Tyler

# February 26, 2007 11:23 PM

JT said:

Having trouble deploying content. I'm using a single server, trying to make a job work with a path between two site collections in the same web application and getting only errors saying Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at...

# March 15, 2007 5:57 AM

Nelson Santos said:

Hi!

I'm having the same problem. I'm trying to shared content between two site collections on the same machine( Intranet and Internet) but the job gives me timeout and nothing if passed :(

Any ideias?

Thanks in advance!

Nelson Santos

# March 26, 2007 1:20 PM

Deepak Aggarwal said:

Hi,

While creating paths, we are not able to see the web application which is in a seprate server farm. it is should web application which are only in same server farm? what should we do to deploy our content from staging to production enviorment?

This will be a great help.

Thanks

Deepak Aggarwal

# May 3, 2007 12:52 AM

Eric Ramseur said:

Hey Jackie,

  How fast do you normally see the state go from preparing to running and have you seen the DST issue happen after or before the preparing?  Im on my second try to just move our top level site which is like 2 pages at most and SP is just reporting preparing.

Regards,

Eric Ramseur

Software Engineer, Gridpoint Inc.,

# May 3, 2007 4:11 PM

Mauro Cardarelli said:

One of the big pain points with SPS 2003 was the fact that once you went to production all subsequent

# May 24, 2007 5:59 AM

basil said:

its very important article

thank you very mauch

# May 26, 2007 4:37 AM

Sezai's Blog about Microsoft Office SharePoint Server 2007 said:

I like step by step guides with screenshots Content Deployment - Step By Step Tutorial http://blogs.msdn.com/jackiebo/archive/2007/02/26/content-deployment-step-by-step-tutorial.aspx

# May 27, 2007 12:41 AM

Brad Helicher said:

A good third-party solution for deploying/replication content and apps is R-1 by Repliweb (www.repliweb.com).  This solution automates the process of deployment and ties in workflow tools as well.  

# May 28, 2007 11:36 AM

Tony Sloggett said:

Your problem is most likely because the account that is running the timer job for the source or destination content deployment job does not have permission to the temporary folder that the job deploys to. Check you temporary folder permissions, and also stop the ows timer service and delete any temporary folders and files that have been left there.

Also if you are running an interactive virus scanner make sure that you turn it off for the temporary folder.

If none of that works, delete the job and path and re-create again, it's the only way to re-verify the permissions on the destination. Good luck.

# May 30, 2007 8:25 AM

anchorPoint said:

This looks nice, but what about features, solutions packages and such? Are they also deployed or do you have to do that bit yourself?

Does this content deployment-service mean that we can now expect to see the same Unique IDs on Webs, Lists, ListItems, etc. on both the stage server and the production server?

# May 30, 2007 2:10 PM

Guru said:

Hi JT, the problem you are facing is that you have both the site collection in the same Web App. create the destination site collection using a new web app(which will create a new content DB) and try.

Also, please read this article carefully. Author, clearly mentions that Source and Destination site collections need to be from two different Web Application(meaning two different content databases).

Hope that helps!

# May 30, 2007 3:06 PM

ragubala said:

Hi,

I am trying to share some content between an intranet site and an internet website,which are in the same server but are different site collections and different web applications.Any ideas how I can do the shareing?

Thanks,

MRB.

# June 4, 2007 10:51 AM

wew said:

hello,

i just want to asking 1 question...what is the different between microsoft office project server 2007 and micrsoft office share point 2007?

# June 19, 2007 5:56 AM

sezai's blog said:

I like step by step guides with screenshots Content Deployment - Step By Step Tutorial http://blogs.msdn

# June 27, 2007 9:06 AM

Brandon C said:

When I click Connect I get error html from the destination server with the text "File not found" in it.

# July 16, 2007 3:39 PM

Brian Carnes said:

It is really not user friendly to have the Comment Notification link visible when I'm typing the post.  I clicked the link before submitting and lost my post.  The short version...

Thank you for the screen shots. Not just "pretty", but save me minutes of translating text to UI; quickly put me in context; gave me confidence I understood post.  Wish more bloggers took the time.

Came across your post while searching for resolution to Status Preparing message, which seems frozen.

# August 17, 2007 1:35 AM

Jeff said:

FYI, Also would like to note. That do not name the destination site the exact same as the source site or the path creation will fail. "Source and destination Site collection cannot be the same".

# August 28, 2007 1:53 PM

Jason said:

I would like to know if there is a way to generate a report or log of content changes using the stsadm command or another utility once a content deployment job runs...

# September 5, 2007 1:30 AM

Pankaj said:

When ever i try to run the job it gives me this error---

The specified name is already in use. A list, survey, discussion board, or document library cannot have the same name as another list, survey, discussion board, or document library in this Web site. Use your browser's Back button, and type a new name. at Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String bstrUrl, Guid& pguidListId, String bstrTitle, String bstrDescription, Int32 lTemplateID, String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int32 iVersion, Int32 iAuthor, String bstrFields, String bstrContentTypes, String bstrImageUrl, String bstrEventSinkAssembly, String bstrEventSinkClass, String bstrEventSinkData, Guid guidDocTemplateId, String bstrViews, String bstrForms, Boolean bCompressedSchema) at Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb parentWeb, Dictionary`2 listMetaData, Boolean usingPublicSchema) at Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector) at Microsoft.SharePoint.Deployment.XmlFormatter.ParseObject(Type objectType, Boolean isChildObject) at Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(Type objectType, Boolean isChildObject, DeploymentObject envelope) at Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Deployment.ObjectSerializer.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Deployment.ImportObjectManager.ProcessObject(XmlReader xmlReader) at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects() at Microsoft.SharePoint.Deployment.SPImport.Run()

Can u plz help to resolve this issue

# September 5, 2007 8:04 AM

The Boiler Room - Mark Kruger, Microsoft SharePoint MVP said:

2007 MOSS Resource Links (Microsoft Office SharePoint Server) Here is an assortment of various 2007 Microsoft

# September 12, 2007 11:05 AM

Jeff said:

I was having the problem of the deployment job getting stuck on 'Preparing'. It was not the Timer service. Was not the account. It turns out that you need to make sure that both servers have the same settings as far as SSL are concerned. If one is requireing it and the other is not it will just sit and spin. No log or error will be generated till it times out then you will be left wondering what happened. So make sure that both exporting server and importing server are on the same SSL Setting.

# September 19, 2007 4:07 PM

Jeff said:

I was having the problem of the deployment job getting stuck on 'Preparing'. It was not the Timer service. Was not the account. It turns out that you need to make sure that both servers have the same settings as far as SSL are concerned. If one is requireing it and the other is not it will just sit and spin. No log or error will be generated till it times out then you will be left wondering what happened. So make sure that both exporting server and importing server are on the same SSL Setting.

# September 19, 2007 4:07 PM

Mirrored Blogs said:

Feature extensions to the WSS blog site template TheKid.me.uk extends the wss blog template - Check it

# October 3, 2007 10:59 AM

John Roe said:

Content deployment is an excellent way to publish SharePoint content between farms. A few things to keep

# October 12, 2007 7:53 PM

JY said:

What about stage and production web application have different web config file and we don't want the stage one overwrite the production one?

# October 24, 2007 5:07 PM

Placelight Blog said:

useful links for sharepoint 2007 customization

# November 8, 2007 11:04 AM

Contagious Curiosity said:

I've had a large number of emails from .NET developers who want more information about SharePoint Development.

# November 24, 2007 1:15 AM

Andy said:

Hi

I can't see the content deployment links on Central Admin Operations tab.  Does anyone know why these would not appear?  Data Configuration is the last section on the right hand column of links.

Thanks

Andy

# November 26, 2007 11:31 AM

Barry D Noble said:

I don't see any graphics between the topics.  They only show up as boxes with x's in them.  Is there a way to see them?

# November 26, 2007 3:38 PM

fadinoja said:

I have the same issue.  the images don't exist anymore....

# November 30, 2007 12:03 AM

fadinoja said:

the site http://jackiebo.officeisp.net that references all the images is down.....

# November 30, 2007 12:07 AM

John said:

Hi Jacky, great post! Can you check you images used in this blog entry? I also can't see them.

# January 15, 2008 10:39 AM

SharePoint Products and Technologies - Pointing to Share the Knowledge - Luis Du Solier G. said:

Content Deployment Jobs its a new feature that comes with Microsoft Office SharePoint Server 2007, and

# January 31, 2008 12:27 PM

Vu's Technical Notepad said:

Two great blog entries describing MOSS Content Deployment and how to configure it: http://blogs.msdn.com/sharepoint/archive/2006/05/02/588140.aspx

# February 16, 2008 2:29 AM

Noticias externas said:

Two great blog entries describing MOSS Content Deployment and how to configure it: http://blogs.msdn

# February 16, 2008 3:18 AM

Denny said:

While trying to create a new path, I am getting the error : Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.

The request failed with the error message:

Can somebody help please?

# February 25, 2008 3:19 AM

Sodhi said:

I am getting same error message:

While trying to create a new path, I am getting the error : Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.

The request failed with the error message:

Can somebody help please?

# March 12, 2008 3:31 PM

Faraz said:

For the

" Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'" error make sure that you are entering the port of the central administration Web application along with the host name in the textbox. I got that error because I didn;t append the port to the url and the server was actually trying to connect to my content web application at that point instead of central admin, which prompted the error.

# March 14, 2008 10:06 PM

Portale Korporacyjne said:

Thanks for a great article about content deployment!

# March 24, 2008 5:14 PM

Martin Mc said:

Great posting, much clearer than the MOSS adminitrator's companion!

# April 3, 2008 10:54 AM

iyad said:

where are the photos ????????????????????????

# April 6, 2008 10:20 AM

Nuz said:

The images are not showing. Please make available

Thanks

# May 3, 2008 9:46 AM

ak said:

this would be great if i could see the photos!

# June 3, 2008 10:11 AM

Chali said:

hi Jackie,

Please check your picture's url. All of them are invalid linkage now......

Thanks for the great article!

chali

# July 30, 2008 5:46 AM

mikel said:

Any chance of getting the pictures fixed?  I'd really like to see how this is done.  Thanks!

# August 3, 2008 5:20 PM

calig said:

great post, can we see the images? Thanks!

# August 21, 2008 6:04 PM

herlina said:

The images are not showing. Can you please fix?

thanks

# August 25, 2008 2:09 AM

Sanjay said:

pls fix your God Damn pictures

# September 11, 2008 1:49 PM

Pat said:

Pls fix your images or delete this blog

# September 11, 2008 1:56 PM

cyberjp said:

Can you update your Web page so that we can see images ?

# October 6, 2008 5:35 PM

Denny said:

Use the link tat FER posted to see the images

# October 21, 2008 2:11 AM

Sandip Nirmal said:

It's great artical for site collection migration!!! Thanks for that!

But I want particular contents of site to be migrated. For eaxample migrating Lists, Documents etc. So how to do that?

Thanks in advance.....

# December 17, 2008 12:31 AM

Hanz Blog said:

Farm Topology This article assumes you have two server farms: one internal farm in your corporate intranet

# February 2, 2009 2:24 PM

Praveen Modi said:

Excellent article Jack. However the screen shot are not appearing for me. Are the images reference wrong path?

# February 18, 2009 5:16 PM

Dnyaneshwari said:

Hello,

I have installed Sharepoint VHD, and did try out the above steps but got stuck when the gave source web application path and gave http://litwaredemo:port number/foldername as URL for destination Central Administration server.

i get error saying "you have specified a URL that begins with http://. Communication to this URL will not be secure and can not be intercepted by malicous users."

so i have https://litwaredemo:port number/foldername

and clciked on Connect button.

It says Either the URL for the destination web application is not valid, or you do not have permissions to the central administration site on the destination server farm.

Error Details: The remote upload web requested failed.

I want to know the reason why this happend.

Waiting for your support

Regards,

Dnyaneshwari

# April 3, 2009 6:56 AM

Mike said:

@Denny,

We got this error during content deployment as well:

Content deployment job 'MyContentDeployment' failed.The exception thrown was 'System.InvalidOperationException' : 'Client found response content type of 'text/html', but expected 'text/xml'. The request failed with the error message [html ... ] There is a problem with the resource you are looking for, and it cannot be displayed. [ ... /html]

It was occurring at the end of the export task.  Turned out the Destination Central Administration Web App was broken.  That's where this error is coming from - the end of the export task is the first time the Source farm tries to talk to the Destination farm.

# May 3, 2009 10:11 PM

Dexter said:

Hi Dnyaneshwari,

I think I know what issue you are seeing is.  Basically, you would have to go back to the Content Deployment Settings page (_admin/Deployment.aspx) and make sure you select the option "Encryption not required" on one of the radio buttons there.  By default, it is set to require encryption (https).  Once you select "Encryption not required", then you should be able to create a Path and just use "http://centraladminURLofDestination" and not "https://...".

Hope this helps.

# June 4, 2009 1:41 AM

Richi said:

Hi,

I am unable to see the images on this tutorial :(  Is there something wrong with my browser?!

# June 10, 2009 11:19 AM

reza said:

hi

I cannot see the pictures, please refresh them!

# June 24, 2009 3:10 AM

Sriwantha Sri Aravinda said:

buddy this is not working, although I get a connection test passed during the test run, the job fails during the actual full run. I am deploying to a site collection

# June 24, 2009 7:44 AM

Evgeny said:

Thanks a lot.

This works fine for me in my siple case.

Best regards,

  Evgeny

# July 6, 2009 6:58 AM

Evgeny said:

Thanks a lot.

This works fine for me in my simple case.

Best regards,

  Evgeny

# July 6, 2009 6:58 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker