سؤال

هل من الممكن نقل قاعدة بيانات المحتوى من خادم DB واحد إلى خادم DB آخر؟قرأت مقالة تفيد بأنها غير ممكنة، يمكنك نقل Contend DB داخل نفس خادم قاعدة البيانات.هل يمكن لأي شخص أن يلقي بعض الضوء على هذا؟ giveacodicetagpre.

هذا من هذه المقالة :

يجب أن تكون قاعدة بيانات المحتوى المصدر وقاعدة بيانات المحتوى الوجهة تقع في نفس مثيل 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