Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

temdb - mdf and ldf files - are gone, plus model mdf and ldf files are gone...

$
0
0

Hello,

We had tempdb on separate drive, and all logs too (except master mdf and ldf, which are still accessible), however, I cannot open dialog on Microsoft SQL Server Managelent Studio. It tells me the following:

The log for database 'tempdb' is not available. Check the event log for related error messages. Resolve any errors and restart the database.

The drives mentioned above are permanently gone. At this point, I am looking at rebuilding the server from the scratch, likely, I have backups on another machine, however, I need to build new server with all files on one drive (C drive, versus before it was spread between different drives). The server that I am about to build will be our staging environment, so I do not care too much about the performance. How can I destroy whatever left over or salvage the existing one without having tempdb and model at first?

Ideally, I would like to drop any existing user dbs, add tempdb and model, and restore all other databases from backup. Any suggestion on how to do it properly?

Thank you very much!


JulieShop


Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>