先在服务器上运行:USE master;
GO
EXEC sp_addumpdevice 'tape', 'tapedump1', '\\.\tape0';
GO
应用程序只需要时运行SQL
BACKUP DATABASE dbname TO tapedump1