Move user Database (.mdf and .ldf files) to another drive in SQL Server (DBA stuff)

preview_player
Показать описание
Move user Database (.mdf and .ldf files) to another drive in SQL Server (DBA stuff)

#SQLServerBasics #DatabaseBasics #SQLwithManoj

Рекомендации по теме
Комментарии
Автор

This video was a lifesaver tonight! Thanks for posting! It's still helpful nearly two years later. :)

jcouture
Автор

What a great video.


The only thing that I had to change was the user permissions on the new folder where I dropped the database. MS SQL didn't want to start backup until I fixed the permissions on the folder itself.

JGames
Автор

Thanks!! for making this useful Video, I clearly understood for Moving mdb, ldb file to different location.

bhaveshzala
Автор

Simple! Great explanation, thank you!

mattsuserid
Автор

You're the best! Saving me lots of time. :)

cryogeneric
Автор

This was the solution i was looking for, Thank you so much!

ConorMcAuliffeOriginal
Автор

Muy bien me sirvio mucho! gracias! thanks! my broo!

byklaix
Автор

Hi Manoj...you explained its very clear, if you have any videos or document related NAS location. How to read the NAS location file and how to move and delete....please provide.

SanthoshKumar-ipjl
Автор

Thnaks, i wondering if there is way to do it everything from the sql managment studio command editor or from store procedure

jaime
Автор

So what do I do if I get the message: Database 'mydatabase' connet be opened because it is offline. When I try to do the ALTER DATABASE databasename MODIFY FILE ....

kenharkness
Автор

Sir I had got an error while moving the data location I had taken the MDF files and while moving the log files it got an error and other data bases are not creating

AjayKumar-dngx
Автор

after attach the sql is ok, but how we know it is same functioning as database before dettach?

jingtingong
Автор

Moving only LOG-file. Getting error that the primary file and log file don't match. AAARRRRGGGGHHHH

jahma
Автор

please under stand my problem .iam moving the system datatabase files (mdf&ldf).ihave one error i can't solve that problem .iam movind model databse files D-drive to E- drive chainge logically ofter that go to configure mannager sql serve services stop ofter that move the system data base files one drive to another drive next start the services execute the error in display that's error
FCB::Open failed: Could not open file E:\systemdb\MODEL\MODELDB_MDF for file number 1. OS error: 2(The system cannot find the file specified.).that is the error .how to solve the error

rbrameshram
Автор

If Data file and Log File size is more than 300gb, how much time it will take to complete this activity.
Or
Size is doesn't matter while moving

dharmendrachowdary
Автор

Query is just taking so much time i.e more than 5 minutes but didn't executed.

tahirabbas