Find replication logs

Find and filter replication operations.

Filtering options

The following list displays the different filtering options (where) that are available to use with the cm find replicationlog command:

  • branch
  • date
  • id
  • owner
  • package
  • repositoryname
  • server

Output options

The following list displays the different output options (--format) available to use with the cm find replicationlog command:

  • date
  • id
  • owner
  • package
  • server

cm find replication log example

Find all the replication operations for a specific branch from any time chronologically:

cm find replicationlog "where branch = '/semanticmain'" --nototal
424089   03/06/2013 12:16:42 codice@diana:9095 F   pablo
426718   17/06/2013 18:46:38 codice@diana:9095 F   pablo
427606   17/06/2013 18:50:47 codice@diana:9095 F   pablo

If, for example, you want the last date, filter by date and use PowerShell or bash to select the last row.

PowerShell

cm find replicationlog "where branch = '/semanticmain'" --format="{date}" --nototal | select -Last 1

Bash

cm find replicationlog "where branch = '/semanticmain'" --format="{date}" --nototal | tail -n 1

Result

17/06/2013 18:50:47