Wednesday, May 28, 2014

Mount and Dismount

Some times we need to attach detached database for webapplication

step1: Dismount the existing database for webapplication
Dismount-SPContentDatabase "RestoreDB_WSS_Content_Intranet"

step2: Mount the required database
Mount-SPContentDatabase “RestoreDB_WSS_Content_Intranet” -DatabaseServer "SharePointStagDB" -WebApplication http://Server01:46154/ -AssignNewDatabaseId

step3: Test any errors occured
Test-SPContentDatabase -Identity "RestoreDB_WSS_Content_Intranet"

step4: make it online to use that webapplication
Set-SPContentDatabase -Identity "RestoreDB_WSS_Content_Intranet" -Status OnLine

No comments:

Post a Comment

Image noise comparison methods

 1. using reference image technique     - peak_signal_noise_ratio (PSNR)     - SSI 2. non-reference image technique     - BRISQUE python pac...