How to Transfer Database from One Server to Another (3 Ways)

Jean posted on Apr 21, 2020 to PC Transfer | How-to Articles

"I have a database in SQL Server 2008, which I want to copy to another server. How do I make such a copy? What should I do at the other server computer to build the database once again from my copy?"

Do you manage a SQL server with some critical database waiting to be migrated from one Windows server to another, or from one computer to another? Never mind. There are a few possible ways to make the database transfer done. Not all the mentioned migration ways are easy to follow, but applying each with the correct steps will completely solve the problem of not knowing how to transfer a database from one server to another. Hence, depending on your own IT background, you can choose one method among the upcoming three that suits you the best to migrate a database from one machine to another with minimal efforts.

Note: To adopt the first and simplest solution of EaseUS server migration software to transfer, move or copy a database in SQL server 2003, 2008, 2012, 2016 or 2019, you'll first download the software on both of your server computers.

Download

For Windows 10/8/7/Vista/XP

PAGE CONTENT:
Method 1. How to transfer database using EaseUS server migration software (The Simplest)
Method 2. How to copy database using Copy Database Wizard
Method 3. How to move database using the backup and restore method

Method 1. How to Transfer Database from One Server to Another with EaseUS Server Migration Software

EaseUS Todo PCTrans is initially recognized as one of the most reputed PC to PC transfer software on the data transfer field. In fact, it runs full compatible with not only Windows XP ~ Windows 10 but also Windows 2003 ~ Windows 2019. In an earlier post, we recommended it as the most popular Windows Server 2016 migration tool, with an ability to transfer applications from Windows one server to another. Do you know that the application transfer is only the tip of the iceberg? what it can transfer will undoubtedly exceed your expectations.

In fact, EaseUS Todo PCTrans is able to transfer everything in bulk on multiple computers at once, and automatically. Let it be programs, files, data, programs, settings, user accounts or server databases. You can easily do the database migration by simply setting up the involved computers in the same LAN, select the database on the source server computer, and use a click to migrate the selected database to the target server computer over the internet. 

Important
Computers are not located on the same LAN? Don't bother. The other transfer mode "Image Transfer" is available to use, which can perfectly solve the none-internet environment problem when transferring a database across servers.
Download

For Windows 10/8/7/Vista/XP

Guide: How to transfer database over the internet

Step 1. Launch EaseUS Todo PCTrans on your source and target computers, connect both PCs via the internet.

1. At the "PC to PC" section, click "PC to PC" to continue. 

select pc to pc

2. Select your target computer via its device name, then enter its account password or verification code and select the transfer direction. Then click "Connect" to continue.

You can check the verification code on the right top of "PC to PC" mainscreen on the target computer.

connect the two pcs

Step 2. Select the categories Applications, Files, and Accounts to transfer via the internet.

If you want to transfer data selectively, click "Edit" under each category, and choose the specific items.

select applications, files or accounts

Step 3. Click "Transfer" to start transferring your apps/files/accounts from one computer to another computer via the Internet.

transfer applications, files or accounts via internet

Method 2. How to Copy Database from One Server to Another Using Copy Database Wizard

The Copy Database Wizard is built in the SQL Server Management Studio. When you have two servers and plan to migrate a database from Server A to Server B, at the same time, you're kind of server experts or administrators, then using the inbuilt database migration feature is a good way to start.

There are some noticeable limits to know if you choose the Copy Database Wizard to copy a database from one server to the other.

  • The Copy Database Wizard is not available in the Express edition.
  • A database cannot be moved or copied to an earlier version of SQL Server.
  • The Copy Database Wizard cannot be used to copy or move databases that are system, marked for replication, marked Inaccessible, Loading, Offline, Recovering, Suspect, or in Emergency Mode, or have data or log files stored in Microsoft Azure storage.

Open SQL Server Management Studio and follow the steps:

Step 1. Right-click on the database and select Tasks > Copy Database...

how to transfer database from one server to another using copy database wizard step1

Step 2. On the Copy Database Wizard window, you need to click Next to move on.

Step 3. Select a source server by entering the source server name. Use Windows authentication or SQL Server authentication mode with user name and password to enter the server. Click Next.

how to transfer database from one server to another using copy database wizard step2

Step 4. Enter the destination server name and apply the authentication information this time. Click Next.

how to transfer database from one server to another using copy database wizard step3

Step 5. Between the two transfer methods, choose to Use the SQL Management Object method and click Next.

how to transfer database from one server to another using copy database wizard step4

Step 6. Now you arrive at the step where you can choose the specific database. After selecting the database, there are options to Move or Copy the selected database. Tick Copy if you wish to keep it on the original server. Otherwise, tick Move, which will move the database to the next server.

how to transfer database from one server to another using copy database wizard step5

Step 7. Next, you can check the MDF and log file path on the destination machine. Follow the wizard to the final step. After success, you can see the database (according to its name) is on the right path of the destination server machine.

Method 3. How to Move Database from One Server to Another Using Backup and Restore

As you've learned, SQL Server Management Studio itself is an all-around server management toolkit. Besides using the direct way of using the copy and move feature to transfer a database from one server to another, there is another backup and restore in it you can also make full use of.

Follow the steps to create a full backup and restore it on the other server computer:

Step 1. In SQL Server Management Studio, right-click the database and select Tasks > Back Up...

how to transfer database from one server to another using backup and restore step1

Step 2. Make sure that the backup type here is Full. Click Add and specify the location and backup name.

how to transfer database from one server to another using backup and restore step2

Step 3. After creating the full backup on the source server computer, now you need to copy the created backup file to another computer.

Step 4. Open SQL Server Management on the destination computer, right-click the SQL Server instance and select Restore Database...

how to transfer database from one server to another using backup and restore step3

Step 5. Here select Device, and you'll choose the created backup files on the source location and restore it to the destination location on the new computer.

how to transfer database from one server to another using backup and restore step4

Which Way Do You Prefer to Transfer Database from One Server to Another?

This article mainly discusses how to transfer database from one server to another or how to transfer Microsoft SQL database from one computer to another computer in three effective ways, including using the EaseUS server migration software, the Copy Database Wizard, and the backup and restore method.

By contrast, the first method of using EaseUS Todo Backup is the most straightforward and smartest, with the least chance of making mistakes during the course of the database transfer. No matter you're familiar with the server database copy wizard, or the backup and restore method or not, it's applicable to everyone with different technical levels.

Download

For Windows 10/8/7/Vista/XP

 
 

100% of people found this article helpful.

 

About EaseUS Todo PCTrans

EaseUS Todo PCTrans can transfer settings, applications and data between PCs and HDDs. Your all-round PC transfer and migrate software to upgrade devices without re-installation.