--创建测试 CREATE DATABASE db GO --正常备份 BACKUP DATABASE db TO DISK='c:\1.bak' WITH FORMAT BACKUP LOG db TO DISK='c:\2.bak' WITH FORMAT BACKUP LOG db TO DISK='c:\3.bak' WITH FORMAT BACKUP DATABASE db TO DISK='c:\4.bak' WITH FORMAT BACKUP DATABASE db TO
在SQL Server中还原差异备份,需要先还原在差异备份时间点之前的一个完整备份,在还原完整备份时要加上NORECOVERY参数,示例SQL语句如下: RESTORE DATABASE [数据库名称] FROM DISK = N'完整备份文件路径' , NOUNLOAD, STATS , NORECOVERY GO 在Management Studio中对应的选项是: Leave the database non-operational, and do not roll back uncomm