Way to Migrate SQL Server Database from One Server to Another

  •   Written By
     
  • Published on
    March 12th, 2019
  • Updated on
    September 4, 2023
  • Read Time
    4 minutes
Summary:- Migrating SQL Server database from one server to another can be tricky and risky if done manually. There’s a chance of damaging the data or losing it in the process. But there’s a solution, in which you can use Sysinfo SQL Database Recovery Tool. If your SQL Server has problems, you can first fix them with this tool, and then safely move your database from one server to another. It makes the whole process much easier and safer.

Simple Method to Copy SQL Server Database from One to Another

In this blog, I’ll explain how you can manually transfer a SQL Server Database from one server to another. If you’re concerned about losing data, don’t be, because the steps I’ll outline are safe and secure.

Also Read: Backup And Restore SQL Database by Recovery & NoRecovery in MS SQL Server

Well, let’s move on to the steps to copy SQL Database from one server to another.

  • Launch the SQL Server Database and connect it to the Source Server.
  • Click on Task. Point the cursor on Task and Select Copy Database.
migrate sql database
  • A Wizard will appear in front of you. Click on Next to Continue.
sql server migration
  • Type or Browse the Source server from where you have to migrate the SQL Database. Click on Next to create the connection.

You are just following the steps but do you know what the above terms mean? You must also know what actually these terms mean.

Source Server– It is used to identify the server name where you want to copy the SQL Database. Either you can type the path or just browse the location by clicking on the Three Dots button. The version of your SQL Server must be 2005 and beyond.

Use Window Authentication– In this, the user can connect with the SQL server by entering an ID and Password.

Use SQL Server Authentication- This allows the user to connect with the Provided SQL Server.

  1. Username- You have to enter a username in order to connect to the SQL Database.
  2. Password- A security key that has to be entered in order to gain access to the SQL Server.
  • Now choose the Destination Server where you want to move the SQL Database. Then Click on Next.
migrate sql database from one to another

Well, I am quite sure that here also you are eager to know the terms. Let me explain:-

Destination Server– It is the server where you want to move the SQL Data. Similarly, as you have browsed the Source Server, here also you have to follow the same procedure. Click on the Three Dots buttons to find the destination server location.

Use Windows Authentication– It allows the user to connect via Microsoft Account in Windows.

Use SQL Server Authentication permits the user to connect to SQL Server by entering username and password.

  • Select Use the SQL Management Object method Option and Click on Next move further.
sql server migration
  • Now you can see the Selected Database that you want to migrate. Select the Copy option and Click on Next.
  • Here you can verify the MDF file and Log File Path on the system. Click on Next to Continue.
migrate sql server database
  • Read and confirm the information here and click on Next.
migrate sql server
  • Enter all the log events and click on Copy.
  • Select the Windows Event log and Click on Next.
sql server database migration
  • Choose the Run Immediately Option and Click on Next.
sql server migration
  • Just go through once from all the options once and click on Finish.
sql server
  • Here you can view the Progress Report. Finally, you succeed in migrating the SQL Database from one server to another.
sql database
  • You can view the Database file on another server where you have saved it.
sql server migration

Well, these steps are quite lengthy but I assure you that they are effective too. You can migrate the SQL database from one server to another without losing any data. These are the manual steps to perform such an activity.

Conclusion

To sum it up, you should now be able to migrate a SQL database from one server to another with ease. I believe the information provided is sufficient. However, if by any chance you suspect the SQL database files are damaged, it’s a good idea to repair them using the SQL Repair Tool before moving them to another server. The choice is yours, so use your judgment wisely.

Related Post