Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

Powershell associate site collection with different database

$
0
0

My dev and production environments are different.

DEV: Application5's SiteCollectionDEV_ABC points to DB_DEF

PROD: Application5's  SiteCollectionPROD_ABC points to DB_ABC

I have restored DB_ABC to DEV, and, while the other site collections associated with DB_ABC are working, SiteCollectionDEV_ABC is broken.

Move-SPSite isn't right, I don't think. That moves the content from one DB to another. I would rather it be similar to production:

DEV: Application5's SiteCollectionDEV_ABC points to DB_ABC

What's the cmdlet?

Thanks!



Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>