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

rename drive and move mdf ldf files

$
0
0

hi ,I am having a development server:

C: drive , installation files and System databases mdf and ldf sits here

F drive : 300 GB free space( backups are stored here : i know its a bad idea )

G drive :286 GB free Space ( all user databases MDF and LDF sits here)

we have a plan to move all files from F drive to G drive and Rename the G drive to F drive

My plans were

Plan A .i would have to shut down sql server, rename the Drive to F  and  then attach the database mdf and ldf files with new F: drive names

Plan B .backup all the databases to some other location (N/W share ) and restore  with changing the mdf ldf locations.

which is the better one and also is there any other way to do it ?

and do i have to check for orphan users ?and how about execute permissions ?

Please give me some suggestions

Thanks


Viewing all articles
Browse latest Browse all 7696

Trending Articles



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