SQL Server database backup and restore in different servers using DTS
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?

    Requires Free Membership to View

    By submitting your registration information to SearchSQLServer.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSQLServer.com is governed by our Terms of Use. You may contact us at [email protected].

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.

This was first published in August 2005

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.