문제

하나의 DB 서버에서 다른 DB 서버로 콘텐츠 데이터베이스를 이동할 수 있습니까?나는 동일한 데이터베이스 서버 내에서 Contend DB를 이동할 수 없다는 기사를 읽었습니다.누구든지 이에 어떤 빛을 흘릴 수 있습니까?

Move-SPSite
.

이것은 이 기사 :

소스 콘텐츠 데이터베이스 및 대상 콘텐츠 데이터베이스 여야합니다. SQL Server의 동일한 인스턴스에 있습니다.

도움이 되었습니까?

해결책

Here are the steps you will need to take Lets call content DB "MyTESTContentDB"

  1. Do a database backup for the content db "MyTESTContentDB" from sql management studio
  2. Go to target DB Server and create a empty database naming "MyTESTContentDB" after the content DB
  3. Restore the backup from step 1 to empty database create in step 2 "MyTESTContentDB"
  4. Go to SharePoint server and run following script Dismount-spcontentdatabase "MyTESTContentDB" and type "Y" to confirm
  5. Run the following script

    stsadm -o addcontentdb -url http://intranet.company.com/mytestsite -databasename MyTESTContentDB -databaseserver TARGETDBSERVER

You will have to input actual URL, actual db name and correct target db server name

다른 팁

You could do this:

1) Add a new Content Database to your existing web application, but with the database pointing to the new SQL server. You can use the New-SPContentDatabase Cmdlet to do this and specify the server at the same time: http://technet.microsoft.com/en-us/library/ff607572.aspx.

2) Use the Move-SPSite Cmdlet to move the desired site collections from the existing content database to the new one.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top