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.
Back up your directory data.
$ dsadm backup instance-path archive-dir |
For example:
$ dsadm backup /local/ds /local/tmp/20051205 |
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.