Is it ok to move master, model and msdb database and log files from C drive to D drive, to free up 10 GB space on C drive? Do I need to take any precautions, other then having a verified backup?
I used the steps copied below for moving some user databases files and logs, but I am not sure if I will be able to move master database and log files using the procedure below after I run the first step of taking master offline? Do you suggest any other way?
1. offline the database.
alter database db_name set offline;
2.Physically copy the mdf and ldf files to the new location(D drive).
3. modify file path
use master;Go alter database dbname modify file ( name = 'logicalName', filename = 'D:\new\db_name.mdf'); --> This is the new file location
4.Bring the database online.
alter database db_name set online;
Thanks in advance.