T-SQL 备份和还原数据库
--完整备份 Backup Database db_database To disk='D:\Backup\db_database_Full.bak' --差异备份 Backup Database db_database To disk='D:\Backup\db_database_Diff.bak' With Differential 解释如下: NAME = 'Full Backup of MyNwind' --这个是备注,随便写。 还原命令: USE master GO RESTORE DATABASE test_wt FROM disk = 'c:\test_wt' GO