Avatar of canuckconsulting
canuckconsulting
Flag for United Kingdom of Great Britain and Northern Ireland asked on

How to kick off replication on a different 2012 SQL Server

I have two SQL Servers:
1) DBProduction (SQL Server 2008)
2) DBWarehouse (SQL Server 2012)

On DBProduction I have snapshot replication set up as well as a push subscription which replicates the snapshot from DBProduction to DBWarehouse.

I have a job JOB_Process running on DBWarehouse 2012 which updates a number of tables in DBProduction.  What I would like to do is add a final step to JOB_Process which would kick off a new snapshot on DBProduction followed by having the push replication subscription ran.
Microsoft SQL ServerMicrosoft SQL Server 2008

Avatar of undefined
Last Comment
canuckconsulting

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
David Todd

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
canuckconsulting

ASKER
Thanks David.

The problem is these jobs are on another server.  Is there a way for me to kick a job off on a remote server?
David Todd

Hi,

If you look at that link there the server as a parameter.

Alternatively, use the four part name convention across a linked server
eg Servername.databasename.dbo.sp_StartJob

The procedure may be in msdb or master databases.

HTH
  David
canuckconsulting

ASKER
Thanks David.   I did look at the link and completely missed the server parameter.  Cheers for the help!
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy