本主題說明如何使用 Acronis Backup & Recovery 11.5 將內容資料庫復原至原始 SharePoint 伺服器陣列。
復原至非原始伺服器陣列是比較複雜的程序。其步驟會視伺服器陣列設定及生產環境的其他參數而有所不同。
將內容資料庫復原至原始 SQL 伺服器
如果您要將資料庫復原到磁碟上的另一個位置,請依照<從磁碟備份復原 SQL Server 資料庫檔案>所述復原資料庫檔案,包括資料庫附加步驟。
將內容資料庫復原至原始伺服器陣列的其他 SQL 伺服器
SharePoint 2010:
Dismount-SPContentDatabase <資料庫>
如果您有多個名稱相同的內容資料庫,必須在此命令中使用內容資料庫 GUID,而非使用內容資料庫名稱。若要擷取內容資料庫的 GUID,請執行 Get-SPContentDatabase Cmdlet 且不使用引數。
SharePoint 2007:
stsadm -url <Web 應用程式 URL> –o deletecontentdb –databasename <資料庫>
SharePoint 2010:
Mount-SPContentDatabase <資料庫> -DatabaseServer <資料庫伺服器> -WebApplication <網站 URL>
SharePoint 2007:
stsadm.exe -o addcontentdb -url <網站 URL> -databasename <資料庫> -databaseserver <資料庫伺服器>