list-backends
Prev | Directory Server Tools | Next

## Name

list-backends — list OpenDJ backends and base DNs

## Synopsis

`list-backends`

## Description

This utility can be used to list the backends and base DNs configured in the Directory Server.

## Options

The list-backends command takes the following options:

Command options:

`-b | --baseDN {baseDN}`

  Base DN for which to list the backend ID.

`-n | --backendID {backendName}`

  Backend ID of the backend for which to list the base DNs.

General options:

`-V | --version`

  Display Directory Server version information.

  Default: false

`-H | --help`

  Display this usage information.

  Default: false

## Exit Codes

0

  The command completed successfully.

> 0

  An error occurred.

## Examples

The following example demonstrates a successful run.

    $ list-backends
    Backend ID         : Base DN
    -------------------:----------------------
    adminRoot          : cn=admin data
    ads-truststore     : cn=ads-truststore
    backup             : cn=backups
    config             : cn=config
    monitor            : cn=monitor
    myCompanyRoot      : "dc=myCompany,dc=com"
    myOrgRoot          : o=myOrg
    schema             : cn=schema
    tasks              : cn=tasks
    userRoot           : "dc=example,dc=com"

Prev | Up | Next
ldifsearch | Home | makeldif