For parts of this procedure, you can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help. Other parts of the procedure can only be done using the command line.
Make a backup of your database files by using the command dsadm backup or dsconf backup.
Use the procedure in Binary Backup, and store the backup files in a safe place.
Copy the configuration directory instance-path/config to a safe place.
Copy the schema directory instance-path/config/schema to a safe place.
Copy the alias directory instance-path/alias to a safe place.