Sometimes we need to copy a database from one instance to another instance in SQL Server. There are two ways to achieve this task.
Restoring database backup:
To copy an entire database we can generate backup and restore this backup to another instance. You can read about this method more here:
Restore Database Backup.
Using Copy Database Wizard:
We can use the Copy Database Wizard to copy or move databases between server instance. Let us read how to use this method using the below given simple steps.
Step 1: Right click on any database and select Tasks option and in Tasks select Copy Database.


Step 2: Select specific source server,

Step 3: Select destination server,


If you get the following error that means your SQL Server Agent is not running. For copying the database it is required that SQL Server instance must run. To remove the above error run your SQL Server instance.
For this press “Window+R” and type “services.msc”.
Search your SQL Server instance and run this instance.

Step 4: Select the transfer method. Use this method if you want to keep the database online when it is being copied.

Step 5: Select databases that you want to copy. You can also select the option of move.

Step 6: Create an appropriate database name.

Step 7: Select server object. You can select additional options to copy the data.
Step 8: Configure the package package. Wizard will create a service package with the property that you specified.

Step 9: Schedule the package. You can run service package or you can schedule to run later.

Step 10: Complete the wizard,

Above message shows that data is successfully copied to another SQL Server instance.
Today we learned how to copy data from one SQL Server instance to another SQL Server instance. I hope you liked this article.
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

AKSHAY RPosted Jul 2, 2018, 4:53 AM
Thanks sir
Humayun Kabir MamunPosted Feb 29, 2016, 12:49 AM
Nice...
Pankaj Kumar ChoudharyPosted Feb 26, 2016, 11:13 PM
Thanks Gowtham K Sir.........
Pankaj Kumar ChoudharyPosted Feb 26, 2016, 11:12 PM
Thanks Shubham Kumar Sir.........
Pankaj Kumar ChoudharyPosted Feb 26, 2016, 11:12 PM
Thanks Rajeev Punhani..........
Pankaj Kumar ChoudharyPosted Feb 26, 2016, 11:11 PM
Thanks Manoj Kulkarni...............
Pankaj Kumar ChoudharyPosted Feb 26, 2016, 11:11 PM
Thanks Sibeesh Venu Sir.........
Pankaj Kumar ChoudharyPosted Feb 26, 2016, 11:10 PM
Thanks Raja T............
Pankaj Kumar ChoudharyPosted Feb 26, 2016, 11:10 PM
Thanks Asfend...........
Gowtham KPosted Feb 26, 2016, 10:10 PM
Good One
Shubham KumarPosted Feb 26, 2016, 6:03 AM
nice
Rajeev PunhaniPosted Feb 26, 2016, 5:51 AM
Thanks for sharing.
Manoj KulkarniPosted Feb 26, 2016, 4:37 AM
Nice article. Thank you for sharing
Sibeesh VenuPosted Feb 26, 2016, 4:34 AM
Nice Share
Raja TPosted Feb 25, 2016, 11:04 PM
Nice, Thanks for sharing
Asfend YarPosted Feb 25, 2016, 3:39 PM
well