We help IT Professionals succeed at work.

SQL Server - Copy database from one server to another

CipherIS
CipherIS asked
on
193 Views
Last Modified: 2017-03-07
Is there a way to copy a database from one server to another without performing a backup?  

I want test to copy a database in the production server.
Comment
Watch Question

IT Superintendent
CERTIFIED EXPERT
Distinguished Expert 2017
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Author

Commented:
Thanks.  I did backup the database.  Can't stop the services.  So, guess I will need to log onto the server and copy the file to the test server.

Thanks.
Stuart DrydenAutomation solutions architect & senior technical support engineer

Commented:
There is an AWSOME powershell module for exactly this.  it makes it easy any convenient beyond belief - including in an Aure environment if that is what you need.  Check out the powershell gallery and search for 'DBATOOLS'

i promise you will be impressed!

or directly to their website.  its a free module !

edit***

never mind, dont go there, the module is rubbish and expensive !!

why do people on here always close the question and score the first half helpful answer?

maybe other people have ideas too that can contribute ?

https://dbatools.io/