Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 restoring backup

Author  Topic 

kaus
Posting Yak Master

179 Posts

Posted - 2003-09-15 : 15:56:14
I made the dumb mistake of deleting a database through enterprise manager and deleting the backup history as well. I've still got the .bak file, is there any way I can get the database back from this file ??

Thanks

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2003-09-15 : 15:58:44
Yes, just restore it.

RESTORE DATABASE DBNameGoesHERE
FROM DISK = 'F:\SomePath\SomeBackupFileName.BAK'
WITH REPLACE

The above command will need to be run inside Query Analyzer. Change the DB name and the path information.

Tara
Go to Top of Page

kaus
Posting Yak Master

179 Posts

Posted - 2003-09-15 : 16:17:43
Thanks once again Tara

Pete
Go to Top of Page
   

- Advertisement -