Quick Actions
dsconfig set-backend-prop
Description
Modify properties of a backend, such as database cache settings or compaction rules.
Command
dsconfig set-backend-prop
Examples
Change database cache percentage for the userRoot backend
dsconfig set-backend-prop --backend-name userRoot --set db-cache-percent:50
Add a DN to the set of compacted common parent DNs
dsconfig set-backend-prop --backend-name userRoot --add compact-common-parent-dn:ou=users,dc=example,dc=com
Set multiple properties in a single command
dsconfig --no-prompt --bindDN "cn=Directory Manager" --bindPassword password set-backend-prop --backend-name userRoot --set db-cache-percent:40 --add compact-common-parent-dn:ou=accts,dc=example,dc=com
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
--backend-name {name} |
string | No | The name of the backend to modify (e.g., userRoot). |
--set {property:value} |
string | No | Set a specific property to a new value (e.g., db-cache-percent:40). |
--add {property:value} |
string | No | Add a value to a multi-valued property. |
--remove {property:value} |
string | No | Remove a value from a multi-valued property. |