DS-REPLCHECK(1) General Commands Manual DS-REPLCHECK(1)

# [NAME](#NAME)

ds-replcheck

# [SYNOPSIS](#SYNOPSIS)

**ds-replcheck** \[-h] \[-v] {online,offline,state} ...

# [DESCRIPTION](#DESCRIPTION)

Replication Comparison Tool (v2.0). This script can be used to compare two  
replicas to see if they are in sync.

# [OPTIONS](#OPTIONS)

## **Sub-commands**

[**ds-replcheck** *online*](#ds_replcheck)

Compare two online replicas for differences

[**ds-replcheck** *offline*](#ds_replcheck~2)

Compare two replication LDIF files for differences (LDIF file generated by 'db2ldif -r')

[**ds-replcheck** *state*](#ds_replcheck~3)

Get the general state of replication between two replicas

# [OPTIONS 'ds-replcheck state'](#OPTIONS_'ds-replcheck_state')

usage: ds-replcheck online \[-h] -m URL -r URL -b SUFFIX -D BINDDN  
\[-w BINDPW] \[-W] \[-y PASS\_FILE] \[-Z CERTDIR]

[**-m** *URL*, **--supplier-url** *URL*](#m)

The LDAP URL for the Supplier server

[**-r** *URL*, **--replica-url** *URL*](#r)

The LDAP URL for the Replica server

[**-b** *SUFFIX*, **--suffix** *SUFFIX*](#b)

Replicated suffix

[**-D** *BINDDN*, **--bind-dn** *BINDDN*](#D)

The Bind DN

[**-w** *BINDPW*, **--bind-pw** *BINDPW*](#w)

The Bind password

[**-W**, **--prompt**](#W)

Prompt for the bind DN password

[**-y** *PASS\_FILE*, **--pass-file** *PASS\_FILE*](#y)

A text file containing the clear text password for the bind dn

[**-Z** *CERTDIR*, **--cert-dir** *CERTDIR*](#Z)

The certificate database directory for secure connections

# [OPTIONS 'ds-replcheck online'](#OPTIONS_'ds-replcheck_online')

usage: ds-replcheck online \[-h] -m URL -r URL --rid RID -b SUFFIX -D BINDDN  
\[-w BINDPW] \[-W] \[-y PASS\_FILE] \[-l LAG] \[-c]  
\[-Z CERTDIR] \[-i IGNORE] \[-p PAGESIZE] \[-o FILE]

[**-m** *URL*, **--supplier-url** *MRL*](#m~2)

The LDAP URL for the Supplier server

[**-r** *URL*, **--replica-url** *URL*](#r~2)

The LDAP URL for the Replica server

[**-b** *SUFFIX*, **--suffix** *SUFFIX*](#b~2)

Replicated suffix

[**-D** *BINDDN*, **--bind-dn** *BINDDN*](#D~2)

The Bind DN

[**-w** *BINDPW*, **--bind-pw** *BINDPW*](#w~2)

The Bind password

[**-W**, **--prompt**](#W~2)

Prompt for the bind DN password

[**-y** *PASS\_FILE*, **--pass-file** *PASS\_FILE*](#y~2)

A text file containing the clear text password for the bind dn

[**-l** *LAG*, **--lag-time** *LAG*](#l)

The amount of time to ignore inconsistencies (default 300 seconds)

[**-c**, **--conflicts**](#c)

Display verbose conflict entry information

[**-Z** *CERTDIR*, **--cert-dir** *CERTDIR*](#Z~2)

The certificate database directory for secure connections

[**-i** *IGNORE*, **--ignore** *IGNORE*](#i)

Comma separated list of attributes to ignore

[**-p** *PAGESIZE*, **--page-size** *PAGESIZE*](#p)

The paged-search result grouping size (default 500 entries)

[**-o** *FILE*, **--out-file** *FILE*](#o)

The output file

# [OPTIONS 'ds-replcheck offline'](#OPTIONS_'ds-replcheck_offline')

usage: ds-replcheck offline \[-h] -m LDIF\_FILE -r LDIF\_FILE --rid RID -b SUFFIX \[-c]  
\[-i IGNORE] \[-o FILE]

[**-m** *LDIF\_FILE*, **--supplier-ldif** *LDIF\_FILE*](#m~3)

Supplier LDIF file

[**-r** *LDIF\_FILE*, **--replica-ldif** *LDIF\_FILE*](#r~3)

Replica LDIF file

[**--rid** *RID*](#rid)

The Replica Identifier (rid) for the "Supplier" server

[**-b** *SUFFIX*, **--suffix** *SUFFIX*](#b~3)

Replicated suffix

[**-c**, **--conflicts**](#c~2)

Display verbose conflict entry information

[**-i** *IGNORE*, **--ignore** *IGNORE*](#i~2)

Comma separated list of attributes to ignore

[**-o** *FILE*, **--out-file** *FILE*](#o~2)

The output file

[**-v**, **--verbose**](#v)

Verbose output

# [AUTHOR](#AUTHOR)

ds-replcheck was written by the 389 Project.

# [REPORTING BUGS](#REPORTING_BUGS)

Report bugs to https://github.com/389ds/389-ds-base/issues/new

# [COPYRIGHT](#COPYRIGHT)

Copyright © 2022 Red Hat, Inc.

July 22, 2022

---

Document: ds-replcheck(1) from 389-ds-base 3.3.1-r10 (Chainguard OS)
Source: https://github.com/389ds/389-ds-base.git
