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.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
Do you have comments on this Ask the Expert Q&A? Let us know.
Dig Deeper on SQL Server Backup and Recovery
Avoid restoring your SQL Server database to solve the SQL Server error message "server out of memory." The problem could be the memory settings.continue reading
Find out how to restore data from a corrupt database.continue reading
Back up tables from a SQL Server database to a file with these commands.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.