Friday, March 30, 2012

How to attach a database from other server

Hi

I have created a test enviroment on my laptop where i have installed SQL server Experss and SSRS.

I already have one production server, and I would like to have a copy of one of its databases linked to my test Server.

How do I do that?

Thansk

Hello,

If you can take the database offline:

Take the database offline, manually copy the data and log files to your test server, then attach the database back on your production server, then on the test server.

If you can not take the database offline:

Create a backup of the database on your production server, then restore it to your test server.

Hope this helps.

Jarret

No comments:

Post a Comment