質問

We have a SQL instance where the MSSQL.1 and MSSQL.2 were installed on a SAN drive. We are moving away from this SAN do to faults and we wish to move the files and folders to a new SAN. How would we do this?

All DB datafiles have been moved and are up and running again, I just want to know if it is necessary to move these over:

enter image description here

enter image description here

役に立ちましたか?

解決

First shut down sql server

Then the best option is to robocopy everything from the disk to the new disk with the existing security.

when this is done, remove the old disk, and give the drive letter of that disk to the disk which you robocopied to. After that start SQL Server again.

This way SQL Server will not notice they are now on a new disk.

他のヒント

Your SQL Server database files changed to a new SAN. Shutdown the old SQL Server and robocopy or xcopy the Old files to the new Disk. (Besure that you use the same drive letter as on the Old Disk) Besure you also copied the security of the old disk to the new disk.

xcopy "C:\Source Folder" "C:\Destination folder" /X /H /E /X – Copies file audit settings and file ownership and ACL information. /H – Copies hidden and system files. /E – Copies directories and subdirectories, including empty ones.

robocopy H:\Microsoft SQL Server H:\Microsoft SQL Server /E /SEC Be aware that you use the same drive letter on the new SAN. You can also rename the old disk and rename the new disk to h:\ now you can copy the OlDDIKS:\Microsoft SQL Server to H:\Microsoft SQL Server

ライセンス: CC-BY-SA帰属
所属していません dba.stackexchange
scroll top