Hi there,
I found the batch script for merge replication as below to create the initial snapshot script and also the batch file to activate subscription. But however i didn't get any for Snapshot replication.
Could you please help?
Following is what I got for merge replication.
The following command-line arguments start the Snapshot Agent to generate the snapshot for a merge publication.
REM -- Declare variables SET Publisher=%InstanceName% SET PublicationDB=AdventureWorks2012 SET Publication=AdvWorksSalesOrdersMerge REM --Start the Snapshot Agent to generate the snapshot for AdvWorksSalesOrdersMerge. "C:\Program Files\Microsoft SQL Server\120\COM\SNAPSHOT.EXE" -Publication %Publication% -Publisher %Publisher% -Distributor %Publisher% -PublisherDB %PublicationDB% -ReplicationType 2 -OutputVerboseLevel 1 -DistributorSecurityMode 1
Scenario: Publication Database is on MSSQL 2012 Standard
Subscription Databse is on SQL EXpress 2012