Question

  Asked: Apr 1 2008   11:46 AM GMT
  Asked by: Cmrhema


Problem occuring while performing Mirroring


SQL Server, SQL Server 2005, Database mirroring

Hi,
I underwent the following Steps for creating a mirror in sql server 2005.
1. Downloaded and isntalled sp2 in principal,mirror as well as witness servers
2. Created a new database named it as FinalMirror
3. Right clicked on the database Tasks-backup-BackupType--Full--Ok created FinalMirror.bak
4. Right clicked on the database Tasks-backup-BackupType--Transactional Log--Ok created FinalMirror-Transaction Log Backup

5. Copied this finalmirror.bak from my system to the Mirror Server. It was stored in the Principal server in the following location
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup

6. Right click on Mirror Server Database--Restore Database --Manually wrote down the ToDatabase
7. Selected from device and selected the added the copied backup file
8. Performed a restore --select the relevant backup--checked the checkbox on restore
9. On the left panel selected the Options and choosed NO RECOVERY
10.performed mirroring and for witness unchecked the "encrypt option"

Mirroring created
but............
in the Mirror server the database is shown as FinalMirror(In Recovery)

i cannot open it .

where am i going wrong
please help

regards
cmrhema

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



That is the way it is supposed to be. The database on the mirror server can not be accessed as data is being fed into it in real time. If you need to access the database, you can try creating a snapshot of the database. This will be a static read only copy of the mirror database, but it should work for your needs.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on SQL Server and Database.

Looking for relevant SQL Server Whitepapers? Visit the SearchSQLServer.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

Mrdenny  |   Apr 18 2008  12:29AM GMT

Check out my SQL Server blog “SQL Server with Mr Denny” for more SQL Server information.