1. tell slapd to do a "gentle stop".
2. slapd enters read-only mode (i.e. rejects future update operations).
3. slapd waits for currently active update operations to finish.
4. slapd flushes the database cache, or better, closes the database
and reopens it in readonly mode (can that be done fairly simply?)
5. slapd tells the user that the database now can be backed up. (e.g.
#1 could be an ldapmodify on "cn=Control" setting "readonly=on",
and that operation would wait to finish until after step #4.)
6. you back up the database and start a new slapd with the backup.
7. you tell old slapd that it may now stop. (kill -HUP, maybe.)
8. old slapd waits for current clients to finish, and stops when they
do or after a timeout.