Solved

Can I verify a backup from the query window.

Posted on 2008-06-26
3
154 Views
Last Modified: 2010-04-21
I have a simple statement I am runniing:

backup database scan to disk ='c:\temp\backup.bak'

I know you can verify readabilty of a backup using the backup command from the context menu, but I wanted to know if there was a way to do this in a query window.

Thanks!
0
Comment
Question by:hyphenpipe
  • 2
3 Comments
 
LVL 60

Expert Comment

by:chapmandew
Comment Utility
You can use the RESTORE VERIFYONLY command to do this.
0
 
LVL 60

Accepted Solution

by:
chapmandew earned 500 total points
Comment Utility
so, it would be something like this:

RESTORE VERIFYONLY FROM DISK = 'c:\pathtoyourbackup\backup.bak'
0
 
LVL 6

Author Closing Comment

by:hyphenpipe
Comment Utility
Thanks!
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now