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.
(Optional) Put your server into frozen mode.
$ dsconf set-server-prop -h host -p port read-write-mode:frozen
Back up your file system, using a tool appropriate to your file system type.
If your server is in frozen mode, make the server read-write again.
$ dsconf set-server-prop -h host -p port read-write-mode:read-write
If your server receives replication updates from another server, replication updates will start as soon as frozen mode is turned off.