JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Fusion Middleware Command-Line Usage Guide for Oracle Unified Directory 11g Release 1 (11.1.1)
search filter icon
search icon

Document Information

Preface

1.  Server Administration Commands

2.  Data Administration Commands

backup

Synopsis

Description

Options

Task Back End Connection Options

Task Scheduling Options

Command Input/Output Options

General Options

Examples

Exit Codes

Using a Properties File

Location

Related Commands

base64

Synopsis

Description

Subcommands

Global Options

Examples

Exit Codes

Location

dbtest

Synopsis

Description

Subcommands

Global Options

Examples

Exit Codes

Location

Related Commands

export-ldif

Synopsis

Description

Options

Task Back End Connection Options

Task Scheduling Options

Command Input/Output Options

General Options

Examples

Exit Codes

Using a Properties File

Location

Related Commands

import-ldif

Synopsis

Description

Options

Task Back End Connection Options

Task Scheduling Options

Command Input/Output Options

General Options

Examples

Exit Codes

Using a Properties File

Location

Related Commands

list-backends

Synopsis

Description

Options

Command Options

General Options

Examples

Exit Codes

Location

manage-account

Synopsis

Description

Subcommands

Options

LDAP Connection Options

General Options

Examples

Exit Codes

Location

Related Commands

rebuild-index

Synopsis

Description

Options

Command Options

Task Back End Connection Options

Task Scheduling Options

Utility Input/Output Options

General Options

Examples

Exit Codes

Location

Related Commands

restore

Synopsis

Description

Options

Task Back End Connection Options

Task Scheduling Options

Command Input/Output Options

General Options

Examples

Exit Codes

Using a Properties File

Location

Related Commands

split-ldif

Synopsis

Description

Options

Global Index Options

Split Options

General Options

Examples

Location

Related Commands

verify-index

Synopsis

Description

Options

Command Options

General Options

Examples

Exit Codes

Location

Related Commands

3.  LDAP Client Commands

4.  Other Commands

5.  General Command-Line Usage Information

list-backends

The list-backends command displays information about the available back ends.

This command is not supported for the proxy.

Synopsis

list-backends [options]

Description

The list-backends command can be used to obtain information about the back ends defined in a directory server instance. Back ends are responsible for providing access to the server database.

The list-backends command has three modes of operation:

Options

The following are available for use but are not required. The list-backends command accepts an option in either its short form (for example, -b baseDN) or its long form equivalent (for example, --baseDN baseDN).

Command Options

-b, --baseDN baseDN Specify the base DN from which the list-backends command should list the back-end ID. The option also indicates whether the specified DN is a baseDN for that back end.

-n, --backendID backendID Specify the back-end ID from which the command should display the associated base DN. This option can be used multiple times to display the base DNs for multiple back ends.

General Options

-?, -H, --help Display the command usage information and exit immediately without taking any other action.

-V, --version Display the directory server version information and exit rather than attempting to run this command.

Examples

The following examples show how to use the directory server commands. See System Requirements and Certification in Oracle Fusion Middleware Installation Guide for Oracle Unified Directory for more information.

Example 2-29 Listing the Current Back Ends

The following command lists the current back ends on the directory server:

$ list-backends

Backend ID  Base DN
----------  -----------------
backup      cn=backups
config      cn=config
monitor     cn=monitor
schema      cn=schema
tasks       cn=tasks
userRoot    dc=example,dc=com

Example 2-30 Listing the Back-end ID

The following command lists the back-end ID on the directory server:

$ list-backends --backendID monitor

Backend ID  Base DN
----------  ----------
monitor     cn=monitor

Example 2-31 Listing the Base DN

The following command lists the base DN on the directory server:

$ list-backends --baseDN cn=backups

The provided DN 'cn=backups' is a base DN for the back end 'backup'

Exit Codes

An exit code of 0 indicates that the operation completed successfully. An exit code of 1 indicates that an error occurred during processing.

Location