2

I have several site collections that have been created in development. I now need to move them to live. In the live environment these site collections do not exists. What is the best way to migrate the site collections in full? My site collections depend on a custom feature that I will deploy in the live environment beforehand.

2 Answers 2

2

Backup/restore using the command line stsadm is as good as any.

In development environment run this command:

stsadm -o backup -url http://devsiteurl -filename dev.bak

Copy the .bak file to the prod environment and then simply restore:

stsadm -o restore -url http://produrl -filename dev.bak
2
  • There are also third party tools that can help you with this, too.
    – Lori
    Commented Nov 22, 2011 at 14:45
  • Use the PowerShell cmdlets Backup-SPSite and Restore-SPSite in preference to stsadm
    – GavinB
    Commented Nov 22, 2011 at 22:34
1

If you want do it one time, do stsadm backup\restore. If you want to do it on regular basis, Consider Content Deployment.

Check this as well before you go for Content Deployment : Plan content deployment

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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