Greetings.
- Server 1 = 2014 OLTP
- Server 2 = 2016 OLTP/ Publisher
- Server 3 = 2016 replication subscriber from Server 2.
I want to take a backup from Server 1, restore to both Server 2 AND Server 3, then initialize replication from backup:
exec sp_addsubscription @publication = N'BS', @subscriber = N'myInstance', @destination_db = N'backupSync', @sync_type = N'initialize with backup', @subscription_type = N'push', @update_mode = N'read only', @backupdevicetype = 'disk', @backupdevicename = '\\backupShare\replSnap\bs.SQLB' GO
However, I get the following error:
Msg 18782, Level 16, State 1, Procedure sp_MSextractlastlsnfrombackup, Line 207 [Batch Start Line 0] Could not locate backup header information for database '[myInstance].[backupSync]' in the specified backup device. Specify a backup device that contains a backup of the Publisher database.
I see why what I'm trying to do I wouldn't wouldn't work (LSN's, etc) , and it make sense. However, I thought I'd see if anyone knows of a way around this?
So I'd need to restore to only Server 2, then back that up and restore to Server 3. I'd like to avoid that if possible.
Thanks in advance! ChrisRDBA