Sun Java System Directory Server Enterprise Edition 6.2 Administration Guide

ProcedureTo Back Up Your Directory Data

Your Directory Server must be stopped to run the dsadm backup command.

You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.

  1. Back up your directory data.

    $ dsadm backup instance-path archive-dir

    For example:

    $ dsadm backup /local/ds /local/tmp/20051205

    Note –

    You can back up directory data while the server is running by using the command dsconf backup command. However, if changes are made to the directory data while the backup is running, proper recovery is more difficult. To avoid this problem when using dsconf backup, set replication referrals or make the server read-only.

    For more information about the dsadm and dsconf commands, see the dsadm(1M) and dsconf(1M) man pages.