Search
Active

1
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Bug
ID: 508760
Opened: 11/6/2009 7:06:12 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
Dear MS project manager,

If you Bing with this error , you will find many hits .people are complaining a lot .As an EX-MSian i thought its my duty to show you whats happening here and why .

First just go through this link :http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/abf50e00-c9b0-4809-9e61-43ed8a53e968

Now , you will see the people are complaining that they are not taking any stripped backup but still by default SQL is taking a stripped backup if more than one device is existing .This is happening by default .

Why this is a Bug : A repro

USE master
GO
EXEC master.dbo.sp_addumpdevice
    @devtype = N'disk',
    @logicalname = N'Anoop_issue',
    @physicalname = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\Anoop_issue.bak'
GO

EXEC master.dbo.sp_addumpdevice
    @devtype = N'disk',
    @logicalname = N'Anoop_issue1',
    @physicalname = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\Anoop_issue1.bak'
GO

-> right click adventure works database > Tasks > backup
-> Under Destination remove anything if its mentioned by default.
-> Click on Add > a new box will pop up > select backup device
-> you will get anoop_issue > click on OK.
-> Again click on Add >a new box will pop up > select another backup device .
-> You will see that both the backup devices are unselected now (",).

if now you click ok it will take the backup .Ideally it should give the error that "please select the device".

It should not take the stripped backups by default if more than one devices exist .

Or we should document it .Ideally i feel that it should prompt us to select any device .

Regards
Abhay


Msg 3132, Level 16, State 1, Line 1
The media set has 2 media families but only 1 are provided. All members must be provided.
Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.
Details (expand)
Product Language
English

Version

SQL Server 2005 SP3

Category

SQL Engine

Operating System

Win2003 Enterprise Server (SP2)
Operating System Language
US English
Steps to Reproduce
Why this is a Bug : A repro
USE master
GO
EXEC master.dbo.sp_addumpdevice
@devtype = N'disk',
@logicalname = N'Anoop_issue',
@physicalname = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\Anoop_issue.bak'
GO
EXEC master.dbo.sp_addumpdevice
@devtype = N'disk',
@logicalname = N'Anoop_issue1',
@physicalname = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\Anoop_issue1.bak'
GO
-> right click adventure works database > Tasks > backup
-> Under Destination remove anything if its mentioned by default.
-> Click on Add > a new box will pop up > select backup device
-> you will get anoop_issue > click on OK.
-> Again click on Add >a new box will pop up > select another backup device .
-> You will see that both the backup devices are unselected now (",).
if now you click ok it will take the backup .Ideally it should give the error that "please select the device".
It should not take the stripped backups by default if more than one devices exist .
Or we should document it .Ideally i feel that it should prompt us to select any device .
Actual Results
By default if there are more than one backup devices and NONE is selected it takes a stripped backup .
Later if one of the device is missing and we do a restore we get this error .
Msg 3132, Level 16, State 1, Line 1
The media set has 2 media families but only 1 are provided. All members must be provided.
Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.
Expected Results
At first place ,SQL Server should not allow us to take backups without selecting the backup devices and prompt us to select them .Atleast user will remember that a stripped backup is taken .
By default SQL should not take the stripped backup if none of the devices are selected .
Platform
32
File Attachments
0 attachments
Sign in to post a comment.