Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

Attaching db with missing transaction log, and remapping location to new drive

$
0
0

I have a detached database that I am trying to attach and it will not allow me to do so. It is telling me the location for the log file does not exist. Which is true. I need to attach the db, point it to the new drive/path for the log files and create the new log file.

This is not live production data, we are attempting worst case data recovery scenarios to evaluate its impact had it occurred in a production environment.

How can I go about attaching our db file, point it to a new drive for the log file and then have it recreate the log.

We are running SQL Server 2014 in an active/passive config in a clustered instance of SQL with 2 VSAN drives as our data and log file drives.

thanks!


Viewing all articles
Browse latest Browse all 4689

Trending Articles



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