On Sep 4, 4:55*pm, Erland Sommarskog <esq...@sommarskog.sewrote:
DL (tatata9...@gmail.com) writes:
Background Info:
Instance A: SQL Server 2005 on Windows Server 2003 OS
Instance B: SQL Server 2005 on XP Prof w/ SP2
Process:
backup a database on Instance A like this:
step 1 -- Management Studio for Instance A
BACKUP DATABASE myAppNameDB
* * * * * * * TO DISK = 'c:\Temp\myAppNameDB_FullRecovery.bak'
GO
step 2 -- copy the .bak file to a network drive and then copy it to
local drive of Instance B
step 3 -- -- Management Studio for Instance B
restore it to target
RESTORE DATABASE myAppNameDB
* * FROM DISK = 'C:\dbData\myAppNameDB_trueFullRecovery.bak'
* * WITH NORECOVERY
GO
It's incomplete because you said so. That is, you specified WITH
NORECOVERY, which tells SQL Server that you plan to restore log backups
as well.
If you change your mind, you can say "RESTORE DATABASE db WITH RECOVERY".
--
Erland Sommarskog, SQL Server MVP, esq...@sommarskog.se
Links for SQL Server Books Online:
SQL 2008:http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005:http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000:http://www.microsoft.com/sql/prodinf...ns/books.mspx- Hide quoted text -
- Show quoted text -
Like your witty banter. And I know what "RESTORE DATABASE db WITH
RECOVERY" would do. However, I believe MS knowledge piece about
Database Mirroring specfically requires full restore WITH NORECOVERY.
Anyway, I' ve resolved one key problem in the process.