Chat now with support
Chat with Support

Metalogix Replicator 7.4 - Quick Start Guide

PowerShell Schedule-ReplicatorMap Examples

PowerShell Queuing Examples

The following scenarios demonstrate the differences between Queue Map commands in versions of Replicator earlier than 7.4.1706 and in version 7.4.1706 to 7.4.1905 (where Repadmin was deprecated, and PowerShell commands were enhanced).

info

NOTE: For version 7.4.1905 and later, the PowerShell command Queue-ReplicatorMap has been changed to Schedule-ReplicatorMap

PowerShell Queuing Scenarios

Scenario: Queue Web Application and all children in the hierarchy

Powershell in V7.4.1905 and later:

PS>Schedule-ReplicatorMap -URL "http://localwebapplication" -Type

WebApplication -IncludeChildTypes SiteCollection,WebSite,List,Folder -JobName "Test"

 

PowerShell in v7.4.1706 to v7.4.1904:

PS>Queue-ReplicatorMap -URL "http://localwebapplication" -Type

WebApplication -IncludeChildTypes SiteCollection,WebSite,List,Folder -JobName "Test"

 

 

PowerShell and Repadmin in v7.3.1705 and earlier:

PS> Queue-ReplicatorMap -URL "http://localwebapplication" -Type WebApplication -IncludeChildren

Repadm -o Queuemap -URL "http://localwebapplication" -Type WebApplication -IncludeChildren True

Scenario: Queue Site Collection and all children in the hierarchy

Powershell in V7.4.1905 and later:

PS>Schedule-ReplicatorMap -URL "http://localwebapplication" -Type SiteCollection -IncludeChildTypes Website,List,Folder -JobName "Test"

 

PowerShell in v7.4.1706 to v7.4.1904:

PS>Queue-ReplicatorMap -URL "http://localwebapplication" -Type SiteCollection -IncludeChildTypes Website,List,Folder -JobName "Test"

 

PowerShell and Repadmin in v7.3.1705 and earlier:

PS> Queue-ReplicatorMap -URL "http://localwebapplication" -Type SiteCollection -IncludeChildren

Repadm -o QueueMap -URL "http://localwebapplication" -Type SiteCollection -IncludeChildren True

Scenario: Queue Web Site group events without children in the hierarchy

Powershell in V7.4.1905 and later:

PS>Schedule-ReplicatorMap -URL "http://localwebapplication" -Type Website -JobName "Test"

 

PowerShell in v7.4.1706 to v7.4.1904:

PS>Queue-ReplicatorMap -URL "http://localwebapplication" -Type Website -JobName "Test"

 

PowerShell and Repadmin in v7.3.1705 and earlier:

PS>Queue-ReplicatorMap -URL "http://localwebapplication" -Type Website -OnlySiteStructure -ExcludeEvents 100

Repadm -o QueueMap -URL "http://localwebapplication" -Type Website -OnlySiteStructure -ExcludeEvents 100

Scenario: Queue Web Site with all subsite content

 

Powershell in V7.4.1905 and later:

PS>Schedule-ReplicatorMap -URL "http://localwebapplication" -IncludeChildTypes All -JobName "Test"

 

PowerShell in v7.4.1706 to v7.4.1904:

PS>Queue-ReplicatorMap -URL "http://localwebapplication" -IncludeChildTypes All -JobName "Test"

 

PowerShell and Repadmin in v7.3.1705 and earlier:

PS>Queue-ReplicatorMap -URL "http://localwebapplication" -Type Website -IncludeChildren

Repadm -o queuemap -URL "http://localwebapplication" -Type Website -IncludeChildren True

Scenario: Queue only site content without subsites

 

Powershell in V7.4.1905 and later:

PS>Scehdule-ReplicatorMap -URL "http://localwebapplication" -IncludeChildTypes list,folder -JobName "Test"

 

PowerShell in v7.4.1706 to v7.4.1904:

PS>Queue-ReplicatorMap -URL "http://localwebapplication" -IncludeChildTypes list,folder -JobName "Test"

 

PowerShell and Repadmin in v7.3.1705 and earlier:

PS>Queue-ReplicatorMap -URL "http://localwebapplication" -Type Website

Repadm -o queuemap -URL "http://localwebapplication" -Type Website

Scenario: Queue Single List group events without children in the hierarchy

 

Powershell in V7.4.1905 and later:
PS>Schedule-ReplicatorMap -URL "http://localwebapplication/Documents" -Type List -JobName "Test"

 

PowerShell in v7.4.1706 to v7.4.1904:

PS>Queue-ReplicatorMap -URL "http://localwebapplication/Documents" -Type List -JobName "Test"

 

PowerShell and Repadmin in v7.3.1705 and earlier:

PS>Queue-ReplicatorMap -URL "http://localwebapplication" -Type Website -ListTitle "List title" -ExcludeEvents "0;5"

Repadm -o QueueMap -URL "http://localwebapplication" --Type Website - ListTitle "List title" -ExcludeEvents "0;5"

Scenario: Queue List map and all children in the hierarchy

 

Powershell in V7.4.1905 and later:

PS>Schedule-ReplicatorMap -URL "http://localwebapplication/Documents" -Type List -IncludeChildTypes Folder -JobName "Test"

 

PowerShell inv7.4.1706 to v7.4.1904:

PS>Queue-ReplicatorMap -URL "http://localwebapplication/Documents" -Type List -IncludeChildTypes Folder -JobName "Test"

 

PowerShell and Repadmin in v7.3.1705 and earlier:

PS>Queue-ReplicatorMap -URL "http://localwebapplication" -Type Website -ListTitle Documents

Repadm -o QueueMap - URL "http://localwebapplication" -Type Website -ListTitle Documents

Scenario: Queue Folder map and all children in the hierarchy

 

Powershell in V7.4.1905 and later:

PS>Schedule-ReplicatorMap -URL "http://localwebapplication/Documents" -Type Folder -IncludeChildTypes Folder -JobName "Test"

 

PowerShell in v7.4.1706 to v7.4.1904:

PS>Queue-ReplicatorMap -URL "http://localwebapplication/Documents" -Type Folder -IncludeChildTypes Folder -JobName "Test"

 

PowerShell and Repadmin in v7.3.1705 and earlier:

PS>Queue-ReplicatorMap -URL "http://localwebapplication" -Type Website -ListTitle Documents -OnlyListItems

Repadm -o QueueMap -URL "http://localwebapplication" -Type Website -ListTitle Documents -OnlyListItems

Scenario: Queue Folder map and all children in the hierarchy exclude ListItemAdd event

 

Powershell in V7.4.1905 and later:

PS>Schedule-ReplicatorMap -URL "http://localwebapplication/Lists/Custom list" -Type Folder -IncludeChildTypes Folder -ExcludeEvents 0 -JobName "Test"

 

PowerShell in v7.4.1706 to v7.4.1904:

PS>Queue-ReplicatorMap -URL "http://localwebapplication/Lists/Custom list" -Type Folder -IncludeChildTypes Folder -ExcludeEvents 0 -JobName "Test"

 

PowerShell and Repadmin in v7.3.1705 and earlier:

PS>Queue-ReplicatorMap -URL "http://localwebapplication" -Type Website -ListTitle "Custom List" -IncludeEvents 5

Repadm -o QueueMap - URL "http://localwebapplication" -Type Website -ListTitle "Custom List" -IncludeEvents 5

Scenario: Queue Folder map and all children in the hierarchy exclude FolderAdd event

 

Powershell in V7.4.1905 and later:

PS>Schedule-ReplicatorMap -URL "http://localwebapplication/Lists/Custom list" -Type Folder -IncludeChildTypes Folder -ExcludeEvents 5 -JobName "Test"

 

PowerShell in v7.4.1706 to v7.4.1904:

PS>Queue-ReplicatorMap -URL "http://localwebapplication/Lists/Custom list" -Type Folder -IncludeChildTypes Folder -ExcludeEvents 5 -JobName "Test"

 

PowerShell and Repadmin in v7.3.1705 and earlier:

PS>Queue-ReplicatorMap -URL "http://localwebapplication" -Type Website -ListTitle "Custom List" -IncludeEvents 0

Repadm -o queuemap -URL "http://localwebapplication" -Type Website -ListTitle "Custom List" -IncludeEvents 0

Scenario: Queue Folder map group events without children in the hierarchy

 

Powershell in V7.4.1905 and later:

PS>Schedule-ReplicatorMap -URL "http://localwebapplication/Documents/Folder"" -Type Folder -JobName "Test"

 

PowerShell in v7.4.1706 to v7.4.1904:

PS>Queue-ReplicatorMap -URL "http://localwebapplication/Documents/Folder"" -Type Folder -JobName "Test"

 

PowerShell and Repadmin in v7.3.1705 and earlier:

PS>Queue-ReplicatorMap -URL "http://localwebapplication" -Type Website -ListTitle Documents -ListFolder Folder -OnlySpecifiedFolder

Repadm -o queuemap --URL "http://localwebapplication" -Type Website -ListTitle Documents -ListFolder Folder -OnlySpecifiedFolder

 

Related Documents