Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Compressed Backups


Compressed Backups

Author
Message
Stewart "Arturius" Campbell
Stewart "Arturius" Campbell
SSCertifiable
SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)

Group: General Forum Members
Points: 5751 Visits: 7125
Almost missed the critical phrase "in a backup set"
Good question, Steve, thanks

____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”
Raghavendra Mudugal
Raghavendra Mudugal
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1674 Visits: 2958
TomThomson (6/13/2014)
Koen Verbeeck (6/13/2014)
An easy question on Friday the 13th, who knew :-)

If it's easy, there must be a lot of not very bright and knowledgable people using SQL Server central. 61 out of 152 got it wrong so far. If people who just guess are split evenly between those who say "of course it works, why on earth wouldn't it" and those who say "there must be some reason for asking this, so probably it doesn't work" and there are at most 20% who think they know but are wrong (which surely would be true for an "easy" question) that means that 31 of the people who got it right were guessing, so only 60 out of 152 knew or successully looked up the answer, which is a pretty low proportion (less than 40%) for an"easy" question.

Anyway, it's a good question because at least the 40% with wrong answers may learn from it, and maybe some of the people who got the right answer by guessing will in future actually know the answer.


+1

well, more than one way to learn.... either way or anyhow or somehow or whatever...it is helping all the people around the world to gain the knowledge.

ww; Raghu
--
The first and the hardest SQL statement I have wrote- "select * from customers" - and I was happy and felt smart.
SQLRNNR
SQLRNNR
SSC-Insane
SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)

Group: General Forum Members
Points: 21029 Visits: 18258
TomThomson (6/13/2014)
Koen Verbeeck (6/13/2014)
An easy question on Friday the 13th, who knew :-)

If it's easy, there must be a lot of not very bright and knowledgable people using SQL Server central. 61 out of 152 got it wrong so far. If people who just guess are split evenly between those who say "of course it works, why on earth wouldn't it" and those who say "there must be some reason for asking this, so probably it doesn't work" and there are at most 20% who think they know but are wrong (which surely would be true for an "easy" question) that means that 31 of the people who got it right were guessing, so only 60 out of 152 knew or successully looked up the answer, which is a pretty low proportion (less than 40%) for an"easy" question.

Anyway, it's a good question because at least the 40% with wrong answers may learn from it, and maybe some of the people who got the right answer by guessing will in future actually know the answer.


Well it was qualified as being easy for "Friday the 13th."

It could have been a really bloody and difficult question Wink



Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server, MVP


SQL RNNR

Posting Performance Based Questions - Gail Shaw

Hany Helmy
Hany Helmy
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2504 Visits: 1108
TomThomson (6/13/2014)
Koen Verbeeck (6/13/2014)
An easy question on Friday the 13th, who knew :-)

Anyway, it's a good question because at least the 40% with wrong answers may learn from it, and maybe some of the people who got the right answer by guessing will in future actually know the answer.

Now it`s 37% :-)
Hany Helmy
Hany Helmy
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2504 Visits: 1108
Raghavendra Mudugal (6/13/2014)
Thank you for the post, SJ, good one, got it right, as I tried this before and was sure of the choice. :-)

Same here :-)
Hany Helmy
Hany Helmy
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2504 Visits: 1108
Stewart "Arturius" Campbell (6/13/2014)
Almost missed the critical phrase "in a backup set"
Good question, Steve, thanks

+ 1 :-)
manik_anu
manik_anu
Old Hand
Old Hand (372 reputation)Old Hand (372 reputation)Old Hand (372 reputation)Old Hand (372 reputation)Old Hand (372 reputation)Old Hand (372 reputation)Old Hand (372 reputation)Old Hand (372 reputation)

Group: General Forum Members
Points: 372 Visits: 300
nice question... i am aware of this kind of restore and backup...:-D

Manik
You cannot get to the top by sitting on your bottom.
pmadhavapeddi22
pmadhavapeddi22
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1291 Visits: 1864
Hi,

I have tried taking the backup with the following t-sql commands

case I

-----------------------------------------------------
backup database XTEST_DB to disk
='c:\XTEST_DB.bak' with compression

backup database XTEST_DB to disk
='c:\XTEST_DB.bak'

-----------------------------------------------------

Both the backups are successful. first backup is with compression and next one is normal backup, both existed in the same media set.

but when I use like the below ,

case II (like the QOTD order)

-----------------------------------------------------

backup database XTEST_DB to disk
='c:\XTEST_DB.bak'

backup database XTEST_DB to disk
='c:\XTEST_DB.bak' with compression

-----------------------------------------------------

Then I am getting the error that both cannot co-exist

My question is , if both cannot co-exist, first case also should fail , why the first case is successful and where as the second one is not ?
free_mascot
free_mascot
SSCrazy
SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)

Group: General Forum Members
Points: 2873 Visits: 2235
pmadhavapeddi22 (6/17/2014)
Hi,

I have tried taking the backup with the following t-sql commands

case I

-----------------------------------------------------
backup database XTEST_DB to disk
='c:\XTEST_DB.bak' with compression

backup database XTEST_DB to disk
='c:\XTEST_DB.bak'

-----------------------------------------------------

Both the backups are successful. first backup is with compression and next one is normal backup, both existed in the same media set.

but when I use like the below ,

case II (like the QOTD order)

-----------------------------------------------------

backup database XTEST_DB to disk
='c:\XTEST_DB.bak'

backup database XTEST_DB to disk
='c:\XTEST_DB.bak' with compression

-----------------------------------------------------

Then I am getting the error that both cannot co-exist

My question is , if both cannot co-exist, second case also should fail , why the first case is successful and where as the second one is not ?



Nice catch pmadhavapeddi22,

Looks like it's SQL generosity. HeheHeheHehe

---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search