Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Scenario of initializing subscription from backup file

$
0
0

Here is the scenario of initializing subscription from backup file.

1. I have database backfile from server 1.(This is no where in part of replication)

2. I need to restore that in to server 2 & server 3.

3. Server 2 will be acting as publisher & server 3 will be the subscriber.

4. So, I have restored server1 backup into server 2 & server 3. 

5. Created the publisher on server2 (By disabling all the ceanup jobs)

6. Now server2 & server3 are having same database that is restored from server 1(No transactions are happening on any of the databases currently)

7. Now when I create subscription with "initilizing database backup" from server1 backup file (which is same in both the servers currently), I am getting following error:

"The transactions required for synchronizing the nosync subscription created from the specified backup are unavailable at the Distributor. Retry the operation again with a more up-to-date log, differential, or full database backup."

PS: But when I take backup from server2 (publisher database - which of no changed), and then restore to server3(subscriber database), and initialize with differential backup, all works fine.

But I am not understanding, what is the reason behind, why the initilize is not working from the backup of server1, as there is no transactions are currently happening any of the databases.

Any ideas, kindly put through..?


Raj



Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>