Chapter 2: SQL Server

Restore Procedures <<previous|next>>

SQL Server database backup and restore in different servers using DTS

SQL Server database backup and restore in different servers using DTS

By  Greg Robidoux, Founder, Principal Database Engineer, Edgewood Solutions

SearchSQLServer.com

I need to restore a database in a different server than it was backed up in. I need to do this three times each day, so I made a DTS package. When I try to restore, the destination server fails because the database is not the same in the source server. How can I back up and restore a database in different servers using DTS?
You will need to specify the MOVE option with the RESTORE DATABASE command. Take a look at the tip Restoring a database from another SQL Server, to get further information on restoring the database as well as linking users and logins.


Do you have comments on this Ask the Expert Q&A? Let us know.

05 Aug 2005