SCSI tape drive not detected by SQL Server Management Studio

Hi Friends,

There could be times when your SCSI tape drive not detected by SQL Server Management Studio. Even when the device is working successfully and you can see that in the device manager. So what do you do? The device is well recognized in the device manager, you have latest drivers installed, that too the drivers are certified from Microsoft. So how are you going to take a backup now?

The solution is simple: use the backup command, instead of the GUI.

   

To do this, run one of the following statements:

BACKUP DATABASE DatabaseName TO TAPE='TapeDevice'
RESTORE DATABASE DatabaseName FROM TAPE='TapeDevice'

The following statements are examples:

BACKUP DATABASE AdventureWorks TO TAPE='\\.\TAPE0'
RESTORE DATABASE AdventureWorks FROM TAPE='\\.\TAPE0'

Please note that this applies only to non-USB based tape drives.

 

 

   

About Amit Bansal

Amit Bansal is always brainstorming around SQL Server. Despite working with SQL since 1997, he is amazed that he keeps learning new things every single day. SQL Server is AB's first love, and his wife does not mind that. He tries to share as much and spreads the SQL goodness. Internals and Performance Tuning excites him, and also gives him sleepless nights at times, simply because he is not a genius, but quite a hard worker and does not give up. It has been a long and exciting journey since 1997, you can read here: http://sqlmaestros.com/amit-bansal/ He is on Twitter: https://www.twitter.com/A_Bansal

View all posts by Amit Bansal →

Leave a Reply

Your email address will not be published.