sp_replication_path

Configures and manages alternate replication paths between a primary database and Replication Server.

Syntax

sp_replication_path "dbname", {
'add' "physical_path", "repserver_name", "rs_username", "rs_password" |
'add', 'logical', 'logical_path',  "physical_path" | 
'drop', "physical_path" |
'drop', 'logical', 'logical_path', [,"physical_path"] |
'bind', "object_type", "[table_owner].object_name", "path_name" |
'unbind', "object_type", "object_name", {"path_name" | all} |
'config', "path_name",  "config_parameter", "config_value" |
'list', ['object_type'], ['object_name']

Parameters

Examples

Usage

  • You must create an alternate primary connection between the primary database and Replication Server and associate the connection to the alternate RepAgent replication path from the primary database to the Replication Server before you bind objects to the path. See Replication Server > Performance Tuning > Multi-Path Replication.
  • You can bind tables and stored procedures to an alternate physical or logical path that you can create for multi-path replication.
  • Any object that you bind to a path always follows the same path during replication.

Permissions

sp_replication_path requires “sa” or “dbo” permission or replication_role.