Avatar of MisUszatek
MisUszatekFlag for United States of America

asked on 

Sharepoint 2010 test environment - content databases migration question

I have a SharePoint 2010 test environment that I want to populate with data from my production environment. What is the best procedure to do it. I was thinking about doing something similar to database attach upgrade (delete first default database and attach a copy from production using "stsadm -o addcontentdb"). Any other recommendations or suggestions or words of caution? Thanks!

Microsoft SharePoint

Avatar of undefined
Last Comment
MisUszatek
ASKER CERTIFIED SOLUTION
Avatar of ufarooq
ufarooq

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of ufarooq
ufarooq

if your production is MOSS ( you use word upgrade ) its better to use stsadm.exe -o preupgradecheck before you start the process .

Avatar of MisUszatek
MisUszatek
Flag of United States of America image

ASKER

Both production and test is SP 2010.
Avatar of ufarooq
ufarooq

You dont really need the stsadm command in this case .
Avatar of MisUszatek
MisUszatek
Flag of United States of America image

ASKER

How do I attach the root database then?
Avatar of ufarooq
ufarooq

what do you mean by root data base ?

you will move content data base from production to test environment ,it can be any content data base attach to the web app where site collections are running. you will have those site collections and contents available in your demo env . Let me know .
Avatar of MisUszatek
MisUszatek
Flag of United States of America image

ASKER

I am back home now - I will take a look at that tomorrow morning.  Thanks!
Avatar of MisUszatek
MisUszatek
Flag of United States of America image

ASKER

I must be doing something wrong. I used the stsadm command to attach the database and it is attached but there is no site collection associated with it...
Avatar of ufarooq
ufarooq

can you make sure that you dont have root site collection already in the web app you are trying to attach to ,  incase you have root site collection in data base also it will fail  .

try to  remove it from web app and use browse content from unattached data base option from CA  to see if that data bass really brought soem thing with it .
Avatar of MisUszatek
MisUszatek
Flag of United States of America image

ASKER

I used PowerShell and everything worked. Thanks for your help.
Microsoft SharePoint
Microsoft SharePoint

Microsoft Sharepoint is a software platform and family of software products used for collaboration and web publishing combined. These capabilities include developing web sites, portals, intranets, content management systems, search engines, wikis, blogs, and other tools for business intelligence and collaboration. SharePoint has a Microsoft Office-like interface, and it is closely integrated with the Office suite.

40K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo