SQL2005中使用BACKUP、RESTORE来备份和恢复数据库。备份BACKUP:BACKUP DATABASE 数据库名称 TO disk = 备份路径例:BACKUP DATABASE test TO disk = 'd:\bak\test.bak'恢复RESTORE:RESTORE DATABASE 数据库名称 FROM disk = 备份路径GO例:RESTORE DATABASE test FROM disk = 'd:\bak\test.bak'