Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Data Corruption
»
Potential Complications/Problems
Potential Complications/Problems
Rate Topic
Display Mode
Topic Options
Author
Message
Stefan Krzywicki
Stefan Krzywicki
Posted Thursday, January 20, 2011 11:41 AM
SSCrazy
Group: General Forum Members
Last Login: Today @ 11:09 AM
Points: 2,421,
Visits: 6,023
A SQL Server 200 database went down. It was backed up on tape, but I don't think it was a proper .bak backup, I think it was just a backup of the .mdb. (I don't have access to these things on this server). It is currently being restored. SQL Server lists the database as (Restoring...)
What kind of problems should I look out for in this situation? Will the restoration simply fail if it isn't from a .bak?
--------------------------------------
When you encounter a problem, if the solution isn't readily evident go back to the start and check your assumptions.
--------------------------------------
It’s unpleasantly like being drunk.
What’s so unpleasant about being drunk?
You ask a glass of water. -- Douglas Adams
Post #1051070
ALZDBA
ALZDBA
Posted Thursday, January 20, 2011 12:03 PM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 7:03 AM
Points: 6,861,
Visits: 8,048
if it was a full database backup, it holds the data from your mdf, ndf and ldf files.
Still that isn't a guarantee your restore will be ok.
After the restore operation, I would run dbcc checkdb to see if sqlserver can confirm the internal structure and system indicators are ok.
- Wat was the recovery setting for the database ? (simple/bulk/full)
- Do you also have log backups ?
How will you handle the data loss ? (time between last backup and crash)
Johan
Jul 13
Don't drive faster than your guardian angel can fly ...
but keeping both feet on the ground won't get you anywhere
-
How to post Performance Problems
-
How to post data/code to get the best help
-
How to prevent a sore throat after hours of presenting ppt ?
"press F1 for solution", "press
shift
+F1 for urgent solution"
Need a bit of Powershell? How about
this
Who am I ?
Sometimes this is me
but
most of the time this is me
Post #1051086
Stefan Krzywicki
Stefan Krzywicki
Posted Thursday, January 20, 2011 12:30 PM
SSCrazy
Group: General Forum Members
Last Login: Today @ 11:09 AM
Points: 2,421,
Visits: 6,023
ALZDBA (1/20/2011)
if it was a full database backup, it holds the data from your mdf, ndf and ldf files.
Still that isn't a guarantee your restore will be ok.
After the restore operation, I would run dbcc checkdb to see if sqlserver can confirm the internal structure and system indicators are ok.
- Wat was the recovery setting for the database ? (simple/bulk/full)
- Do you also have log backups ?
How will you handle the data loss ? (time between last backup and crash)
As far as I know it wasn't a "database backup" is was a backup of all the files on the drive.
--------------------------------------
When you encounter a problem, if the solution isn't readily evident go back to the start and check your assumptions.
--------------------------------------
It’s unpleasantly like being drunk.
What’s so unpleasant about being drunk?
You ask a glass of water. -- Douglas Adams
Post #1051104
ALZDBA
ALZDBA
Posted Thursday, January 20, 2011 9:52 PM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 7:03 AM
Points: 6,861,
Visits: 8,048
That's not backup but a file copy.
That will only work if your sqlinstance has been shut down before copying the files unless you use special snapshoting software that knows to flush all sqlserver data to disk.
Suppose your mdf file is usable, but is the only file you have, there may still be options for a
single file attach
.
have a look at:
-
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=85187
- at ssc you'll also find forum threads handling this issue.
I hope you get this db back in a consitent and working state.
Johan
Jul 13
Don't drive faster than your guardian angel can fly ...
but keeping both feet on the ground won't get you anywhere
-
How to post Performance Problems
-
How to post data/code to get the best help
-
How to prevent a sore throat after hours of presenting ppt ?
"press F1 for solution", "press
shift
+F1 for urgent solution"
Need a bit of Powershell? How about
this
Who am I ?
Sometimes this is me
but
most of the time this is me
Post #1051317
Stefan Krzywicki
Stefan Krzywicki
Posted Thursday, January 20, 2011 9:54 PM
SSCrazy
Group: General Forum Members
Last Login: Today @ 11:09 AM
Points: 2,421,
Visits: 6,023
ALZDBA (1/20/2011)
That's not backup but a file copy.
That will only work if your sqlinstance has been shut down before copying the files unless you use special snapshoting software that knows to flush all sqlserver data to disk.
Suppose your mdf file is usable, but is the only file you have, there may still be options for a
single file attach
.
have a look at:
-
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=85187
- at ssc you'll also find forum threads handling this issue.
I hope you get this db back in a consitent and working state.
I know it isn't a backup, that's why I'm worried. I'm not the one restoring it or "backing it up" in the first place. I just have to deal with it once it is restored.
--------------------------------------
When you encounter a problem, if the solution isn't readily evident go back to the start and check your assumptions.
--------------------------------------
It’s unpleasantly like being drunk.
What’s so unpleasant about being drunk?
You ask a glass of water. -- Douglas Adams
Post #1051320
Lynn Pettis
Lynn Pettis
Posted Thursday, January 20, 2011 10:11 PM
SSC-Insane
Group: General Forum Members
Last Login: Today @ 12:47 PM
Points: 21,600,
Visits: 27,423
If it isn't a true backup, but a file backup, you may not be able to do anything. If SQL Server was down while the file backup is run, you may be okay.
You may want to be sure to set the user expectations as to what may happen when the restore is done.
Lynn Pettis
For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here
or
when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here
and
here
Managing Transaction Logs
SQL Musings from the Desert
Fountain Valley SQL
(My Mirror Blog)
Post #1051328
Stefan Krzywicki
Stefan Krzywicki
Posted Thursday, January 20, 2011 10:47 PM
SSCrazy
Group: General Forum Members
Last Login: Today @ 11:09 AM
Points: 2,421,
Visits: 6,023
Lynn Pettis (1/20/2011)
If it isn't a true backup, but a file backup, you may not be able to do anything. If SQL Server was down while the file backup is run, you may be okay.
You may want to be sure to set the user expectations as to what may happen when the restore is done.
Thanks, that is one of the things we've been doing. When the end users hear there's even the slightest chance it'll all be fixed they jump right to "So everything will be fine?"
--------------------------------------
When you encounter a problem, if the solution isn't readily evident go back to the start and check your assumptions.
--------------------------------------
It’s unpleasantly like being drunk.
What’s so unpleasant about being drunk?
You ask a glass of water. -- Douglas Adams
Post #1051336
GilaMonster
GilaMonster
Posted Friday, January 21, 2011 3:45 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 11:21 AM
Points: 37,686,
Visits: 29,943
A state of RESTORING means that there was a backup and that it was restored WITH NORECOVERY
Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild
: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter
We stand on the bridge and no one may pass
Post #1051418
Stefan Krzywicki
Stefan Krzywicki
Posted Friday, January 21, 2011 7:43 AM
SSCrazy
Group: General Forum Members
Last Login: Today @ 11:09 AM
Points: 2,421,
Visits: 6,023
GilaMonster (1/21/2011)
A state of RESTORING means that there was a backup and that it was restored WITH NORECOVERY
Excelent, thanks. There's been communication issues and I've been worried. I wanted to find out from people who know far more than I about such things what might actually be going on and how bad the situation really was. Thanks to everyone who replied.
--------------------------------------
When you encounter a problem, if the solution isn't readily evident go back to the start and check your assumptions.
--------------------------------------
It’s unpleasantly like being drunk.
What’s so unpleasant about being drunk?
You ask a glass of water. -- Douglas Adams
Post #1051542
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.