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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Two databases - same name: Can do?

Status
Not open for further replies.

SQLBill

MIS
May 29, 2001
7,777
US
I have to do some work with archived data which requires me to restore the data to the same server our current data is on. That means that I will have two databases with the same name. Here is what I plan on doing:

1. create a new instance (\\servername\Archive)
2. create a new folder on the SAN (Archive files)
3. move the archive database files (master, model, msdb, userdbs) to this folder.
4. attach the files to the new instance.

This will give me two instances (Default and \\servername\Archive) each with a database having the same name, but different file locations.

Does anyone see any problems with doing it this way?

-SQLBill

Posting advice: FAQ481-4875
 
Nope ... That seems the most ideal solution.

Only catch is that you have to make sure to preface the correct instance if you make any cross-instance calls or you have apps that may hit both instances.

Thanks

J. Kusch
 
Jay,

Thanks for the insight about cross-instance calls and apps. If I have to do this, I'll be creating a Crystal Report template that duplicates the one currently used, but pointing to the archive instance.

-SQLBill

Posting advice: FAQ481-4875
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top