Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy MDF and LDF files to another server? 1

Status
Not open for further replies.

jbradley

Programmer
Sep 7, 2001
248
US
I have two SQL Server 2000 servers, a production machine and one for backup/development use. The backup box was initially set up by loading a Ghost image of the production server to it. The database is the back end for a batch processing system and changes occur on a set schedule and can easily be reproduced.

My question is, if I back up the database and tran log files each night, in case of a failure of the production server can I restore the backed-up files to the spare server, then reproduce the day's changes to bring the database to the same state the production server was at and put it into production? Would this involve just backing up the MDF and LDF files?

Thanks in advance for any light you can shed on this for me. Please forgive my obvious ignorance.

Brad
 
Thanks! On first read this looks like exactly what we need.
 
In any case, yes you could restore your database onto a different server. The steps you take will depend on your backup strategy. Read up on How to restore files to a new location in SQL BOL.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top