Move User Database (.mdf and .ldf files) to another drive in SQL Server || Ms SQL

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ •

  • @righttolearnbk
    @righttolearnbk  3 роки тому +1

    How to move master Database from one drive to another.
    ua-cam.com/video/oC3n2xRqmNY/v-deo.html

  • @ChromaGraph
    @ChromaGraph 8 місяців тому

    Explanation was very clear and anyone with limited knowledge can understand and perform the task, I am not much in to DB however over customer has no knowledge about it and got to help, with this video my job is done, thanks Bro.

  • @righttolearnbk
    @righttolearnbk  3 роки тому +1

    I will make a separate video to move system databases and then post the link in comments section

  • @satishchowdary1390
    @satishchowdary1390 7 місяців тому

    Good way of explanation very useful

  • @hargevorgyan
    @hargevorgyan Рік тому

    Still remains actual, thank you !

  • @Kingbezy
    @Kingbezy 2 роки тому

    Bro this video is Gold. thank you so much

  • @sayaleelande
    @sayaleelande Рік тому

    Hello Sir
    Your content is too much informative and very easy to understand. Please post the videos on performance tuning and related issue solutions

  • @danieldacosta3073
    @danieldacosta3073 Місяць тому

    Many thanks have always been very scared to touch dbs but your videos are informative and really help. Have subscribed , why dont u setup.somerhing on udemy

  • @aniketshelke9201
    @aniketshelke9201 6 місяців тому

    Thank you bro ❤

  • @bandraluyellappa213
    @bandraluyellappa213 5 місяців тому

    Thank you! This video is very useful for everyone. Can you please do video for always on setup as well. If it was already made, would you mind please share the link of it. Thanks Again!

  • @michelleurbano0809
    @michelleurbano0809 6 місяців тому

    Thank you for the vid. Very helpful but is the modify file to a new location also applies to the file inside in a filegroup?
    Or you need to modify filegroup syntax then just change the filepath of the data file there? Or is there any extra step? When changing the location of the database file inside a filegroup

  • @MyLubimishBabyLove
    @MyLubimishBabyLove 9 місяців тому

    It will work also when file names changed? And what about filestream?

  • @shivamyadav-im7kb
    @shivamyadav-im7kb Рік тому

    Hi @BK
    Could you please let me know how to move .MDF file from one drive to another drive in high availability mode(primary and secondary replica).
    Thanks,
    Shivam.

  • @mladenzvjerac4073
    @mladenzvjerac4073 2 роки тому

    Thank you very much!

  • @jingtingong6177
    @jingtingong6177 3 роки тому

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

  • @raghuram9249
    @raghuram9249 Місяць тому

    Good explanation sir, but I am getting an operating system error,
    how to overcome this problem

  • @smempire5027
    @smempire5027 3 роки тому

    sir please upload how to create Clustering in sql server and also upload video for Migration with practical demo

  • @saikumarkakarla9924
    @saikumarkakarla9924 2 роки тому

    Thank you bro

  • @debasiskarmakar9158
    @debasiskarmakar9158 2 роки тому

    Nice Tip...but is it recommended to change the default DB locations settings?

    • @righttolearnbk
      @righttolearnbk  2 роки тому

      It is a good practice. However it should done as per your requirement.

  • @subhanishaik7310
    @subhanishaik7310 2 роки тому

    nice

  • @jhoveldango8730
    @jhoveldango8730 Рік тому

    How about the users login under Security Tab? Can they log on again after moving DB in different destination. Thanks in advance BTW very nice tutorial hoping for your response

  • @rajunimmaturi7300
    @rajunimmaturi7300 3 роки тому

    Hi BK
    Is there any down time to move
    (C to F) the data files and log files..
    1.Backup and restore..

    • @righttolearnbk
      @righttolearnbk  3 роки тому +1

      We will have downtime to move existing database files from one drive to another.
      If we take backup & restore and create new database with files in new location, application string has to change to new database, so we will have downtime.

    • @rajunimmaturi7300
      @rajunimmaturi7300 3 роки тому

      @@righttolearnbk thanks for the update BK

  • @sudhakarrao395
    @sudhakarrao395 2 роки тому

    thanks

  • @veeravidyasagar6123
    @veeravidyasagar6123 3 роки тому +1

    Access got denied, so how can I give access to that

    • @righttolearnbk
      @righttolearnbk  3 роки тому +1

      Where did you get this error exactly.
      You Can share the image to me via Instagram or through email

    • @abhay6276
      @abhay6276 Рік тому +1

      @@righttolearnbk Msg 5120, Level 16, State 101, Line 7
      Unable to open the physical file "F:\MS SQL\SQL\SQLLogFile". Operating system error 5: "5(Access is denied.)".
      File activation failure. The physical file name "F:\MS SQL\SQL\SQLLogFile" may be incorrect.
      New log file 'E:\MS SQL\SQL\SQLLogFile\AdventureWorks2019_log.ldf' was created.
      Hello Balu, can you please look into this error...?
      i have executed below query pls check below
      Alter database AdventureWorks2019 modify file(name='AdventureWorks2017_log' , filename='F:\MS SQL\SQL\SQLLogFile')

    • @jacksparrow8654
      @jacksparrow8654 9 місяців тому

      @@abhay6276 just give yourself access to the folder .

  • @rubinashaikh8925
    @rubinashaikh8925 2 роки тому

    Should I move MDF file by others name