Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
gorashy
Starting Member
15 Posts |
Posted - 2014-12-26 : 11:01:11
|
hiI am new to sql server, and I am trying to configure database mirroring.I experienced some errors and I read in the forums that before I start the mirroring I must back up full and log backup to MIRROR DATABASE.How can I do that? in management studio, please helpthanks |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
gorashy
Starting Member
15 Posts |
Posted - 2014-12-27 : 17:44:29
|
thanks, but I did not understand line number 2 "restore that backup on mirror server using norecovery option"How can I do that? |
|
|
gorashy
Starting Member
15 Posts |
Posted - 2014-12-27 : 17:53:37
|
thanks, but I did not understand line number 2 "restore that backup on mirror server using norecovery option"How can I do that? |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2014-12-29 : 13:23:15
|
You can use the restore GUI or use the RESTORE DATABASE/LOG command:RESTORE DATABASE somedbFROM disk = 'f:\backup\somedb.bak'WITH NORECOVERYRESTORE LOG somedbFROM disk = 'f:\backup\somedb.trn'WITH NORECOVERYTara KizerSQL Server MVP since 2007http://weblogs.sqlteam.com/tarad/ |
|
|
gorashy
Starting Member
15 Posts |
Posted - 2014-12-30 : 16:58:13
|
thank you very much |
|
|
|
|
|