Previous Topic: Create Index 陳述式對檔案與檔案群組備份的影響Next Topic: 還原總覽


部份備份

Microsoft SQL Server 2005 推出特殊類型的檔案/檔案群組備份功能,稱為「部份備份」。這些備份除了所有其他非唯讀的檔案群組外,還會自動選取主要檔案群組。若資料庫本身是唯讀,則只會加入主要檔案群組。

和檔案與檔案群組備份不同,部份備份可以在使用「簡易復原模式」的資料庫上執行,因為已包含所有可變更的資料。若您有一個大型資料庫在唯讀檔案群組中包含大量靜態資料,則可利用「部份備份」縮減大小,並減少執行一般備份所需的時間。只要您保留最近的完整資料庫備份,且資料庫結構不變,就能使用部份完整和部份差異備份,而不需要執行其他完整資料庫備份。

另外您也可以從部份備份進行部份還原,只要所有必須的檔案群組都包含在「部份備份」工作階段中。您也可以從部份備份進行資料庫還原,把最後的資料庫完整備份視為先決條件。

附註:When using the Simple Recovery Model, you cannot perform a Database Differential backup after a Partial Full backup, until you first perform another Database Full backup.針對所有復原模式,如果您在資料庫差異備份之後執行部分完整備份,部分完整備份就會受資料庫差異備份影響,將其視為先決條件。

重要!在 SQL Server 7.0 及 2000 中,資料庫差異備份與先前資料庫完整備份之間的任何檔案/檔案群組備份,會受資料庫差異備份影響。However, in SQL Server 2005 and later, a Database Differential or Partial Differential backup is dependent on any intervening Full backups, including Files and FileGroups Full and Partial Full backups.自動選取範圍功能無法偵測到此條件。If you mix Files and FileGroup backups with Database Differential and Partial Differential backups in SQL Server 2005, you may need to assemble the restore sequences manually.