[dba-SQLServer]Help - get db back

James Barash James at fcidms.com
Thu Nov 13 10:37:31 CST 2003


John,
If you are using Enterprise Manager, you can simply Right-Click on
Databases->All Tasks->Attach Database and point to the mdf file. If you
had to reload SQL Server, you may have to recreate your logins unless
you only used sa.

James Barash

-----Original Message-----
From: dba-sqlserver-bounces at databaseadvisors.com
[mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of John W.
Colby
Sent: Thursday, November 13, 2003 10:28 AM
To: SQLServer
Subject: [dba-SQLServer]Help - get db back


Folks,

I had a hard disk decide to disappear occasionally.  Yep, a soft reboot
would show it completely missing, only a hard boot (power off/on) would
display it again.  Of course it was my system disk.  In the two days of
screwing around finding and fixing it, I forgot to back up my SQL Server
database.  It appears that I was connected to a database out on my data
disk, and I didn't lose it, but the question is, how do I "attach to"
that SQL Server database?  It's my billing database and rather critical.

Again, I have the database itself, but it is out in my data directory
and I need to get SQL Server to open it and let me use it.

Possible?

John W. Colby
www.colbyconsulting.com


_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com



More information about the dba-SQLServer mailing list