Unix Technical Forum

SQL Server 2000 Cannot Restore

This is a discussion on SQL Server 2000 Cannot Restore within the SQL Server forums, part of the Microsoft SQL Server category; --> Hello All, I am not a SQL Server expert, but I have been put in a pretty precarious situtation ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 05:17 AM
dschneiderman@planetmagpie.com
 
Posts: n/a
Default SQL Server 2000 Cannot Restore

Hello All,

I am not a SQL Server expert, but I have been put in a pretty
precarious situtation and I am close to panicking I have need to
restore a SQL database from backup (through Enterprise Manager). The
database got corrupt and I detached it, then was unable to attach it
again. I created a new database with the same name and file names to
restore to. When I go to All Tasks, restore, and restore from a
previously run full backup, it says "SQL Server is currently in the
process of restoring the backup set," but the progress bar does not
budge. I look in the data folder and see the full sized transaction
logs (35GB I know, need to be shrunk). The .mdf file remains at 1024K
though. Do I need to just wait longer? Normally when restoring from a
SQL Server .BAK file, the progress is shown to me as it goes along. I
do not know what to do here. Any help would be GREATLY appreciated. I
apologize for sounding like a newbie, but with SQL Server, I am
definitely in that category.

Thanks,
-D

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 05:17 AM
Greg D. Moore \(Strider\)
 
Posts: n/a
Default Re: SQL Server 2000 Cannot Restore


<dschneiderman@planetmagpie.com> wrote in message
news:1103600714.825688.242920@f14g2000cwb.googlegr oups.com...
> Hello All,
>
> I am not a SQL Server expert, but I have been put in a pretty
> precarious situtation and I am close to panicking I have need to
> restore a SQL database from backup (through Enterprise Manager). The
> database got corrupt and I detached it, then was unable to attach it
> again. I created a new database with the same name and file names to
> restore to. When I go to All Tasks, restore, and restore from a
> previously run full backup, it says "SQL Server is currently in the
> process of restoring the backup set," but the progress bar does not
> budge. I look in the data folder and see the full sized transaction
> logs (35GB I know, need to be shrunk). The .mdf file remains at 1024K
> though. Do I need to just wait longer? Normally when restoring from a
> SQL Server .BAK file, the progress is shown to me as it goes along. I
> do not know what to do here. Any help would be GREATLY appreciated. I
> apologize for sounding like a newbie, but with SQL Server, I am
> definitely in that category.


First advice, forget Enterprise Manager.

Use Query analyzer.
RESTORE DATABSE FOO from disk='e:\foo.bak' with stats
(adapt syntax as required.)


In any case:
1) you don't need to create a new database.
2) If the transaction log is 35Gig, SQL Server will instruct the OS to
allocate 35 gig of disk space and then it does some checking on that space.
So, it could easily take an hour or more (depending on the speed of your
disks, etc.) to do that. During that time it'll appear that there's nothing
happening. You'll see no progress bar change, and if you do it via QA, the
stats won't change at all.

If you need more help, I'm sure come morning others will be logged in and
can help then.


>
> Thanks,
> -D
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:41 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com