Link to home
Start Free TrialLog in
Avatar of CipherIS
CipherISFlag for United States of America

asked on

SQL Server - Copy database from one server to another

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.
ASKER CERTIFIED SOLUTION
Avatar of Tom Cieslik
Tom Cieslik
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CipherIS

ASKER

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.
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/